Function zstd_safe::cctx_ref_prefix[][src]

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.