zstd_safe

Function compress_stream

Source
pub fn compress_stream<C: WriteBuf + ?Sized>(
    zcs: &mut CStream<'_>,
    output: &mut OutBuffer<'_, C>,
    input: &mut InBuffer<'_>,
) -> SafeResult
Expand description

Wraps the ZSTD_compressStream() function.