ZSTD_endStream method

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

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

Implementation

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