Function zstd_safe::cctx_ref_prefix

source ·
pub fn cctx_ref_prefix<'a, 'b>(
    cctx: &mut CCtx<'a>,
    prefix: &'b [u8]
) -> SafeResultwhere
    'b: 'a,
Expand description

Wraps the ZSTD_CCtx_refPrefix() function.

Dictionary must outlive the prefix.