Function decode_string
pub fn decode_string(
src: &mut &[u8],
prefix_bits: u8,
max_len: usize,
) -> Result<DecodedString, PrefixError>Available on crate features
http and std only.Expand description
Decode a string literal with an prefix_bits-bit length prefix, rejecting a decoded length
above max_len (RFC 9204 §4.1.2). Plain lengths are checked before allocating;
Huffman output is bounded during decoding.