ZSTD_decompress_usingDict method

int ZSTD_decompress_usingDict(
  1. Pointer<ZSTD_DCtx> dctx,
  2. Pointer<Void> dst,
  3. int dstCapacity,
  4. Pointer<Void> src,
  5. int srcSize,
  6. Pointer<Void> dict,
  7. int dictSize,
)

! ZSTD_decompress_usingDict() : Decompression using a known Dictionary. Dictionary must be identical to the one used during compression. Note : This function loads the dictionary, resulting in significant startup delay. It's intended for a dictionary used only once. Note : When dict == NULL || dictSize < 8 no dictionary is used.

Implementation

int ZSTD_decompress_usingDict(
    ffi.Pointer<ZSTD_DCtx> dctx,
    ffi.Pointer<ffi.Void> dst,
    int dstCapacity,
    ffi.Pointer<ffi.Void> src,
    int srcSize,
    ffi.Pointer<ffi.Void> dict,
    int dictSize,
    ) {
  return _ZSTD_decompress_usingDict(
    dctx,
    dst,
    dstCapacity,
    src,
    srcSize,
    dict,
    dictSize,
  );
}