zstd_safe

Function cctx_ref_prefix

Source
pub fn cctx_ref_prefix<'a, 'b>(
    cctx: &mut CCtx<'a>,
    prefix: &'b [u8],
) -> SafeResult
where 'b: 'a,
Expand description

Wraps the ZSTD_CCtx_refPrefix() function.

Dictionary must outlive the prefix.