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