[go: up one dir, main page]

Function zstd::decompress [] [src]

pub fn decompress(destination: &mut [u8], source: &[u8]) -> Result<usize>

Deompress a single block of data to the given destination buffer.

Returns the number of bytes written, or an error if something happened (for instance if the destination buffer was too small).