Function liblzma::copy_encode
source ยท pub fn copy_encode<R: Read, W: Write>(
source: R,
destination: W,
level: u32,
) -> Result<()>Expand description
Compress all data from the given source as if using a read::XzEncoder.
Compressed data will be appended to destination.