Function zstd_sys::ZSTD_CCtx_setParameter [] [src]

pub unsafe extern "C" fn ZSTD_CCtx_setParameter(
    cctx: *mut ZSTD_CCtx,
    param: ZSTD_cParameter,
    value: c_uint
) -> usize

ZSTD_CCtx_setParameter() : Set one compression parameter, selected by enum ZSTD_cParameter. Note : when value is an enum, cast it to unsigned for proper type checking. @result : 0, or an error code (which can be tested with ZSTD_isError()).