zstd_safe

Function cctx_ref_cdict

Source
pub fn cctx_ref_cdict<'a, 'b>(
    cctx: &mut CCtx<'a>,
    cdict: &CDict<'b>,
) -> SafeResult
where 'b: 'a,
Expand description

Wraps the ZSTD_CCtx_refCDict() function.

Dictionary must outlive the context.