[go: up one dir, main page]

Function zstd::block::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.