snappy_cpp

Function decompress

Source
pub fn decompress(src: &[u8], dst: &mut [u8]) -> Result<usize, String>
Expand description

Decompress the bytes in src into dst. dst must be big enough to hold the the uncompressed size of the bytes in src.

If there was a problem decompressing src, an error is returned.