Function zstd::block::decompress
[−]
[src]
pub fn decompress(data: &[u8], capacity: usize) -> Result<Vec<u8>>
Decompress a block of data, and return the decompressed result in a Vec<u8>.
The decompressed data should be less than capacity bytes,
or an error will be returned.