mz_deflateInit2 function
mz_deflateInit2() is like mz_deflate(), except with more control: /
/ Additional parameters: /
/ method must be MZ_DEFLATED /
/ window_bits must be MZ_DEFAULT_WINDOW_BITS (to wrap the deflate stream with zlib header/adler-32 footer) or -MZ_DEFAULT_WINDOW_BITS (raw deflate/no header or footer) /
/ mem_level must be between 1, 9 (it's checked but ignored by miniz.c)
Implementation
@ffi.Native<
ffi.Int Function(mz_streamp, ffi.Int, ffi.Int, ffi.Int, ffi.Int, ffi.Int)
>()
external int mz_deflateInit2(
mz_streamp pStream,
int level,
int method,
int window_bits,
int mem_level,
int strategy,
);