Constantsยง
- BITMASKS ๐
- CLCL_
ORDER ๐ - Order of the length code length alphabet (derived from deflate spec).
- DISTANCE_
TABLE_ ๐ENTRIES - The distance table is a 512-entry table that maps 9 bits of distance symbols to their meaning.
- DIST_
SYM_ ๐TO_ DIST_ BASE - The base distance for each distance code (derived from deflate spec).
- DIST_
SYM_ ๐TO_ DIST_ EXTRA - Number of extra bits for each distance code (derived from deflate spec.)
- FIXED_
DIST_ ๐TABLE - FIXED_
LITLEN_ ๐TABLE - HUFFMAN_
CODES ๐ - HUFFMAN_
LENGTHS ๐ - Hard-coded Huffman codes used regardless of the input.
- LENGTH_
TO_ ๐LEN_ EXTRA - Number of extra bits for length values (derived from deflate spec).
- LENGTH_
TO_ ๐SYMBOL - Length code for length values (derived from deflate spec).
- LEN_
SYM_ ๐TO_ LEN_ BASE - The base length for each length code (derived from deflate spec).
- LEN_
SYM_ ๐TO_ LEN_ EXTRA - Number of extra bits for each length code (derived from deflate spec).
- LITLEN_
TABLE_ ๐ENTRIES - The main litlen_table uses a 12-bit input to lookup the meaning of the symbol. The table is split into 4 sections: