pub fn compress_stream<R: Read, W: Write>( reader: R, writer: W, config: &EngineConfiguration, ) -> Result<u64>
Compress a Read stream, writing CRSH output to writer.
Read
writer
Total input size is unknown at start; FileHeader block_count and uncompressed_size are set to u64::MAX (streaming sentinel).
FileHeader
block_count
uncompressed_size
u64::MAX
Returns any error from compress() or the underlying writer.
compress()