Function zstd_sys::ZSTD_CCtx_setCParams
source ยท pub unsafe extern "C" fn ZSTD_CCtx_setCParams(
cctx: *mut ZSTD_CCtx,
cparams: ZSTD_compressionParameters,
) -> usize
Expand description
ZSTD_CCtx_setCParams() : Set all parameters provided within @p cparams into the working @p cctx. Note : if modifying parameters during compression (MT mode only), note that changes to the .windowLog parameter will be ignored. @return 0 on success, or an error code (can be checked with ZSTD_isError()). On failure, no parameters are updated.