|
ZXC 1.0.3
High-performance asymmetric lossless compression library
|
On-disk byte sizes of the archive header and footer. More...
Macros | |
| #define | ZXC_MAGIC_WORD 0x9CB02EF5U |
| Magic word opening every frame, stored little-endian (F5 2E B0 9C). | |
| #define | ZXC_FILE_HEADER_SIZE 16 |
| File header size: Magic(4) + Version(1) + Chunk(1) + Flags(1) + Reserved(7) + Checksum(2). | |
| #define | ZXC_FILE_FOOTER_MIN_SIZE 3 |
| Smallest file footer: original_size(1) + compressed_size(1) + lengths(1). | |
| #define | ZXC_FILE_FOOTER_MAX_SIZE 17 |
| Largest file footer, digest excluded: original_size(8) + compressed_size(8) + lengths(1). | |
| #define | ZXC_FILE_DIGEST_SIZE 8 |
| Archive digest, opening the footer when the header sets HAS_CHECKSUM. | |
On-disk byte sizes of the archive header and footer.
| #define ZXC_FILE_DIGEST_SIZE 8 |
Archive digest, opening the footer when the header sets HAS_CHECKSUM.
Definition at line 127 of file zxc_constants.h.
Referenced by zxc_footer_layout(), and zxc_read_frame_info().
| #define ZXC_FILE_FOOTER_MAX_SIZE 17 |
Largest file footer, digest excluded: original_size(8) + compressed_size(8) + lengths(1).
Definition at line 125 of file zxc_constants.h.
| #define ZXC_FILE_FOOTER_MIN_SIZE 3 |
Smallest file footer: original_size(1) + compressed_size(1) + lengths(1).
Definition at line 122 of file zxc_constants.h.
Referenced by zxc_parse_file_footer().
| #define ZXC_FILE_HEADER_SIZE 16 |
File header size: Magic(4) + Version(1) + Chunk(1) + Flags(1) + Reserved(7) + Checksum(2).
Definition at line 120 of file zxc_constants.h.
Referenced by ds_handle_need_file_header(), ds_start_frame(), zxc_compress_bound(), zxc_cstream_create(), zxc_dctx_decode_frame(), zxc_frame_tail_len(), zxc_get_dict_id(), zxc_read_file_header(), zxc_read_frame_info(), zxc_scan_container(), zxc_scan_frame(), zxc_scan_whole_frame(), zxc_seek_load_spans(), zxc_seek_parse_frame(), zxc_short_input_verdict(), zxc_stream_compress(), zxc_stream_decode_frame(), zxc_stream_finish_compress(), zxc_stream_read_frame_header(), zxc_write_file_header(), zxc_write_seek_table(), and zxc_write_seek_table_from_blocks().
| #define ZXC_MAGIC_WORD 0x9CB02EF5U |
Magic word opening every frame, stored little-endian (F5 2E B0 9C).
Definition at line 117 of file zxc_constants.h.
Referenced by zxc_get_dict_id(), zxc_magic_prefix_ok(), zxc_read_file_header(), zxc_stream_decompress(), and zxc_write_file_header().