Function zstd::bulk::decompress

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

Decompresses a block of data and returns the decompressed result.

The decompressed data should be at most capacity bytes, or an error will be returned.