[][src]Function zstd_safe::compress_using_cdict

pub fn compress_using_cdict(
    cctx: &mut CCtx,
    dst: &mut [u8],
    src: &[u8],
    cdict: &CDict
) -> Result<usize, usize>

ZSTD_compress_usingCDict()

Compression using a digested Dictionary.

Faster startup than ZSTD_compress_usingDict(), recommended when same dictionary is used multiple times.

Note that compression level is decided during dictionary creation.

Frame parameters are hardcoded (dictID=yes, contentSize=yes, checksum=no)