The OpenD Programming Language

mz_compress2

Single-call compression functions mz_compress() and mz_compress2(): Returns MZ_OK on success, or one of the error codes from mz_deflate() on failure.

version(encodeDecodePNG)
nothrow @nogc
int
mz_compress2
(
ubyte* pDest
,
mz_ulong* pDest_len
,
const(ubyte)* pSource
,
mz_ulong source_len
,
int level
)

Meta