Function zstd_sys::ZSTD_CCtx_setParametersUsingCCtxParams
source · [−]pub unsafe extern "C" fn ZSTD_CCtx_setParametersUsingCCtxParams(
cctx: *mut ZSTD_CCtx,
params: *const ZSTD_CCtx_params
) -> usize
Expand description
ZSTD_CCtx_setParametersUsingCCtxParams() : Apply a set of ZSTD_CCtx_params to the compression context. This can be done even after compression is started, if nbWorkers==0, this will have no impact until a new compression is started. if nbWorkers>=1, new parameters will be picked up at next job, with a few restrictions (windowLog, pledgedSrcSize, nbWorkers, jobSize, and overlapLog are not updated).