inflate

Function inflate_bytes_zlib

Source
pub fn inflate_bytes_zlib(data: &[u8]) -> Result<Vec<u8>, String>
Expand description

Decompress the given slice of DEFLATE compressed (with zlib headers and trailers) data.

Returns a Vec with the decompressed data or an error message.