|
ZXC 1.0.3
High-performance asymmetric lossless compression library
|
On-disk header structure for a ZXC block (8 bytes, little-endian). More...
#include <zxc_internal.h>
Data Fields | |
| uint8_t | block_type |
| Block type (see zxc_block_type_t). | |
| uint8_t | block_flags |
| Flags (e.g., checksum presence). | |
| uint8_t | reserved |
| Reserved for future protocol extensions. | |
| uint8_t | header_checksum |
| Header integrity checksum (1 byte). | |
| uint32_t | comp_size |
| Compressed size excluding this header. | |
On-disk header structure for a ZXC block (8 bytes, little-endian).
raw_size is not stored in the header; decoders derive it from Section Descriptors within the compressed payload.
Definition at line 2207 of file zxc_internal.h.
| uint8_t zxc_block_header_t::block_flags |
Flags (e.g., checksum presence).
Definition at line 2209 of file zxc_internal.h.
Referenced by zxc_encode_block_raw().
| uint8_t zxc_block_header_t::block_type |
Block type (see zxc_block_type_t).
Definition at line 2208 of file zxc_internal.h.
Referenced by ds_handle_need_block_header(), zxc_dctx_decode_frame(), zxc_encode_block_raw(), and zxc_stream_read_blocks().
| uint32_t zxc_block_header_t::comp_size |
Compressed size excluding this header.
Definition at line 2212 of file zxc_internal.h.
Referenced by ds_handle_need_block_header(), zxc_dctx_decode_frame(), zxc_encode_block_pak(), zxc_encode_block_raw(), zxc_encode_block_spl(), zxc_seek_read_block(), zxc_stream_decode_job(), and zxc_stream_read_blocks().
| uint8_t zxc_block_header_t::header_checksum |
Header integrity checksum (1 byte).
Definition at line 2211 of file zxc_internal.h.
| uint8_t zxc_block_header_t::reserved |
Reserved for future protocol extensions.
Definition at line 2210 of file zxc_internal.h.
Referenced by zxc_encode_block_raw().