[][src]Function zstd_safe::cctx_set_parameter

pub fn cctx_set_parameter(
    cctx: &mut CCtx,
    param: CParameter
) -> Result<usize, usize>

Set one compression parameter, selected by enum ZSTD_cParameter.

@result : informational value (typically, the one being set, possibly corrected), or an error code (which can be tested with ZSTD_isError()).