Performs the bzip2-specific encoding of Huffman context.
Pointer to the bit buffer.
Number of valid bits in the bit buffer.
Pointer to the destination vector.
Pointer to the size of destination buffer on input, pointer to the resulting length of the destination vector on output.
Pointer to internal state structure for bzip2 specific Huffman encoding.
This function performs the bzip2-specific encoding of the
. The function uses the bzip2-specific Huffman encoding state structure
. This structure must be initialized by
Indicates no error.
Indicates an error if one of the pointers is
Indicates an error if length of the destination buffer is less than or equal to 0.
Indicates a warning if size of the destination buffer is insufficient to store all output elements.