ZSTD_initDStream method

int ZSTD_initDStream(
  1. Pointer<ZSTD_DStream> zds
)

! ZSTD_initDStream() : Initialize/reset DStream state for new decompression operation. Call before new decompression operation using same DStream.

Note : This function is redundant with the advanced API and equivalent to: ZSTD_DCtx_reset(zds, ZSTD_reset_session_only); ZSTD_DCtx_refDDict(zds, NULL);

Implementation

int ZSTD_initDStream(
    ffi.Pointer<ZSTD_DStream> zds,
    ) {
  return _ZSTD_initDStream(
    zds,
  );
}