Function zstd::zstd_safe::zstd_sys::ZSTD_compressStream
source ยท pub unsafe extern "C" fn ZSTD_compressStream(
zcs: *mut ZSTD_CCtx_s,
output: *mut ZSTD_outBuffer_s,
input: *mut ZSTD_inBuffer_s,
) -> usize
Expand description
Alternative for ZSTD_compressStream2(zcs, output, input, ZSTD_e_continue). NOTE: The return value is different. ZSTD_compressStream() returns a hint for the next read size (if non-zero and not an error). ZSTD_compressStream2() returns the minimum nb of bytes left to flush (if non-zero and not an error).