ZSTD_compress_usingCDict method
! ZSTD_compress_usingCDict() : Compression using a digested Dictionary. Recommended when same dictionary is used multiple times. Note : compression level is decided at dictionary creation time, and frame parameters are hardcoded (dictID=yes, contentSize=yes, checksum=no)
Implementation
int ZSTD_compress_usingCDict(
ffi.Pointer<ZSTD_CCtx> cctx,
ffi.Pointer<ffi.Void> dst,
int dstCapacity,
ffi.Pointer<ffi.Void> src,
int srcSize,
ffi.Pointer<ZSTD_CDict> cdict,
) {
return _ZSTD_compress_usingCDict(
cctx,
dst,
dstCapacity,
src,
srcSize,
cdict,
);
}