tdefl_compress_buffer function

tdefl_status tdefl_compress_buffer(
  1. Pointer<tdefl_compressor> d,
  2. Pointer<Void> pIn_buf,
  3. int in_buf_size,
  4. tdefl_flush flush,
)

Implementation

tdefl_status tdefl_compress_buffer(
  ffi.Pointer<tdefl_compressor> d,
  ffi.Pointer<ffi.Void> pIn_buf,
  int in_buf_size,
  tdefl_flush flush,
) => tdefl_status.fromValue(
  _tdefl_compress_buffer(d, pIn_buf, in_buf_size, flush.value),
);