Function tetsy_snappy::compress_into[][src]

pub fn compress_into(input: &[u8], output: &mut Vec<u8>) -> usize

Compress a buffer using snappy, writing the result into the given output buffer, growing it if necessary. Otherwise, returns the length of the compressed data.