fdeflate

Function decompress_to_vec_bounded

Source
pub fn decompress_to_vec_bounded(
    input: &[u8],
    maxlen: usize,
) -> Result<Vec<u8>, BoundedDecompressionError>
Expand description

Decompress the given data, returning an error if the output is larger than maxlen bytes.