Skip to main content

lz77_decompress

Function lz77_decompress 

Source
pub fn lz77_decompress(input: &[u8]) -> Vec<u8> ⓘ
Expand description

Decompress a byte slice previously produced by lz77_compress.

This wrapper keeps the requested simple signature. If the compressed stream is malformed, it returns an empty vector. Code that needs explicit error reporting should call try_lz77_decompress instead.