pub fn copy_encode<R, W>(source: R, destination: W, level: i32) -> Result<()>Expand description
Compress all data from the given source as if using an Encoder.
Compressed data will be appended to destination.
A level of 0 uses zstd’s default (currently 3).