pub fn compress(
istream: &mut dyn Read,
ostream: &mut dyn Write,
model: Box<dyn Model>,
) -> Result<(u64, u64)>Expand description
Compresses istream into ostream using the given model.
Returns the number of bytes both in the decompressed and compressed stream.