ZSTD_compressCCtx method
! ZSTD_compressCCtx() :
Same as ZSTD_compress(), using an explicit ZSTD_CCtx.
Important : in order to mirror ZSTD_compress()
behavior,
this function compresses at the requested compression level,
ignoring any other advanced parameter .
If any advanced parameter was set using the advanced API,
they will all be reset. Only compressionLevel
remains.
Implementation
int ZSTD_compressCCtx(
ffi.Pointer<ZSTD_CCtx> cctx,
ffi.Pointer<ffi.Void> dst,
int dstCapacity,
ffi.Pointer<ffi.Void> src,
int srcSize,
int compressionLevel,
) {
return _ZSTD_compressCCtx(
cctx,
dst,
dstCapacity,
src,
srcSize,
compressionLevel,
);
}