deflate
pub fn deflate_bytes(input: &[u8]) -> Vec<u8>
Compress the given slice of bytes with DEFLATE compression.
Returns a Vec of the compressed data.
use deflate::deflate_bytes; let data = b"This is some test data"; let compressed_data = deflate_bytes(data);Run