pub fn decode(
input: &[u8],
out: &mut Vec<u8>,
cap: usize,
) -> Result<(), DecodeError>Expand description
Appends the decoding of input to out, refusing to produce more than
cap octets.
§Errors
Malformed "Huffman padding" for padding longer than 7 bits or not all
ones, "EOS in a Huffman string" for a decoded EOS (RFC 7541 §5.2);
TooLarge "string" past cap.