mz_deflateBound function

  1. @Native<mz_ulong Function(mz_streamp, mz_ulong)>(mz_streamp, mz_ulong)>()
int mz_deflateBound(
  1. mz_streamp pStream,
  2. int source_len
)

mz_deflateBound() returns a (very) conservative upper bound on the amount of data that could be generated by deflate(), assuming flush is set to only MZ_NO_FLUSH or MZ_FINISH.

Implementation

@ffi.Native<mz_ulong Function(mz_streamp, mz_ulong)>()
external int mz_deflateBound(mz_streamp pStream, int source_len);