ZSTD_compress_usingCDict method

int ZSTD_compress_usingCDict(
  1. Pointer<ZSTD_CCtx> cctx,
  2. Pointer<Void> dst,
  3. int dstCapacity,
  4. Pointer<Void> src,
  5. int srcSize,
  6. Pointer<ZSTD_CDict> cdict,
)

! 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,
  );
}