|
ZXC 0.15.0
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 2119 of file zxc_internal.h.
| uint8_t zxc_block_header_t::block_flags |
Flags (e.g., checksum presence).
Definition at line 2121 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 2120 of file zxc_internal.h.
Referenced by cs_stage_eof(), zxc_check_eof_header(), zxc_compress(), zxc_compress_cctx(), zxc_dctx_decode_frame(), zxc_encode_block_ghi(), zxc_encode_block_glo(), zxc_encode_block_raw(), zxc_seek_table_header(), zxc_stream_finish_compress(), zxc_stream_read_blocks(), and zxc_write_empty_frame().
| uint32_t zxc_block_header_t::comp_size |
Compressed size excluding this header.
Definition at line 2124 of file zxc_internal.h.
Referenced by zxc_dctx_decode_frame(), zxc_encode_block_ghi(), zxc_encode_block_glo(), zxc_encode_block_raw(), 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 2123 of file zxc_internal.h.
| uint8_t zxc_block_header_t::reserved |
Reserved for future protocol extensions.
Definition at line 2122 of file zxc_internal.h.
Referenced by zxc_encode_block_raw().