ZSTD_flushStream method

int ZSTD_flushStream(
  1. Pointer<ZSTD_CStream> zcs,
  2. Pointer<ZSTD_outBuffer> output
)

! Equivalent to ZSTD_compressStream2(zcs, output, &emptyInput, ZSTD_e_flush).

Implementation

int ZSTD_flushStream(
    ffi.Pointer<ZSTD_CStream> zcs,
    ffi.Pointer<ZSTD_outBuffer> output,
    ) {
  return _ZSTD_flushStream(
    zcs,
    output,
  );
}