miniz_oxide::inflate

Function decompress_to_vec_zlib

Source
pub fn decompress_to_vec_zlib(input: &[u8]) -> Result<Vec<u8>, TINFLStatus>
Expand description

Decompress the deflate-encoded data (with a zlib wrapper) in input to a vector.

Returns a status and an integer representing where the decompressor failed on failure.