pub fn compress(input: &[u8]) -> Vec<u8> ⓘ
Wrap input as a single gzip member.
input
The header is the minimal one: no name, no comment, no extra field, MTIME zero (there is no file whose time it could be), XFL zero and OS unknown.