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