Function zstd_decompress

Source
pub fn zstd_decompress<F>(input: &[u8], write: F) -> Result<usize>
where F: FnMut(&[u8]) -> Result<()>,
Expand description

Streaming Zstd decompress

The input is allowed to contain more data than Zstd will consume. Returns the actual number of bytes consumed from the input.