Function zstd::bulk::decompress

source ·
pub fn decompress(data: &[u8], capacity: usize) -> Result<Vec<u8>>
Expand description

Decompresses a block of data and returns the decompressed result.

The decompressed data should be less than capacity bytes, or an error will be returned.