Skip to main content

string_encoded_len

Function string_encoded_len 

pub fn string_encoded_len(data: &[u8], prefix_bits: u8, huffman: bool) -> usize
Available on crate features http and std only.
Expand description

Number of wire bytes needed by a string, including its length prefix.