Function snappy::decompress_into [−][src]
pub fn decompress_into(
input: &[u8],
output: &mut Vec<u8>
) -> Result<usize, InvalidInput>
Decompress a buffer using snappy, writing the result into the given output buffer, growing it if necessary. Will error if the input buffer is not snappy-compressed. Otherwise, returns the length of the decompressed data.