Function zstd_sys::ZSTD_compressCCtx
source · pub unsafe extern "C" fn ZSTD_compressCCtx(
cctx: *mut ZSTD_CCtx,
dst: *mut c_void,
dstCapacity: usize,
src: *const c_void,
srcSize: usize,
compressionLevel: c_int
) -> usize
Expand description
ZSTD_compressCCtx() :
Same as ZSTD_compress(), using an explicit ZSTD_CCtx.
Important : in order to behave similarly to ZSTD_compress()
,
this function compresses at requested compression level,
ignoring any other parameter .
If any advanced parameter was set using the advanced API,
they will all be reset. Only compressionLevel
remains.