ZSTD_DCtx_reset method

int ZSTD_DCtx_reset(
  1. Pointer<ZSTD_DCtx> dctx,
  2. int reset
)

! ZSTD_DCtx_reset() : Return a DCtx to clean state. Session and parameters can be reset jointly or separately. Parameters can only be reset when no active frame is being decompressed. @return : 0, or an error code, which can be tested with ZSTD_isError()

Implementation

int ZSTD_DCtx_reset(
  ffi.Pointer<ZSTD_DCtx> dctx,
  int reset,
) {
  return _ZSTD_DCtx_reset(
    dctx,
    reset,
  );
}