Function decompress_to_vec

Source
pub fn decompress_to_vec(
    inp: &[u8],
    capacity_hint: Option<usize>,
) -> Result<Vec<u8>, DecompressError>
Expand description

Decompress the input into a Vec

Returns the result on success, or an error otherwise

If capacity_hint is provided, it will be passed to Vec::with_capacity