Encode a block using fixed Huffman codes directly into the state's bit buffer. This writes bits without byte-alignment, allowing proper block concatenation.
deflateBlockFixedToBits
Compress a block of data using fixed Huffman codes.
Parameters
state | Deflate state. |
input | Input data. |
last | Is this the last block? |
Returns
Compressed data.
Params: state = Deflate state with bit buffer. input = Input data to compress. last = Is this the last block?