zstd_safe

Function compress_stream2

Source
pub fn compress_stream2<C: WriteBuf + ?Sized>(
    cctx: &mut CCtx<'_>,
    output: &mut OutBuffer<'_, C>,
    input: &mut InBuffer<'_>,
    end_op: ZSTD_EndDirective,
) -> SafeResult