Skip to main content

decompress_any

Function decompress_any 

Source
pub fn decompress_any(frame: &[u8]) -> Option<Vec<u8>>
Expand description

Inverse of compress_best: read the codec tag and inflate. None on a malformed or oversized frame — the decompression-bomb bound (MAX_DECODE_BYTES) is inherited from decompress_body.