The OpenD Programming Language

mz_compress

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_compress
(
ubyte* pDest
,
mz_ulong* pDest_len
,
const(ubyte)* pSource
,
mz_ulong source_len
)

Meta