pub fn compress<R: Read, W: Write>(
options: Options,
output_format: Format,
in_data: R,
out: W
) -> Result<(), Error>
Available on crate feature
std
only.Expand description
Compresses data from a source with the Zopfli algorithm, using the specified options, and writes the result to a sink in the defined output format.