huffman_encoding_len

Function huffman_encoding_len 

Source
pub fn huffman_encoding_len<const LOWER_CASE: bool>(src: &[u8]) -> Result<usize>
Expand description

Returns how long the Huffman encoding of the given buffer will be.

The Huffman code implemented is the one defined for HPACK (RFC7541).