MCPcopy Create free account
hub / github.com/9chu/LuaSTGPlus / compress

Function compress

ZLib/compress.c:62–69  ·  view source on GitHub ↗

=========================================================================== */

(dest, destLen, source, sourceLen)

Source from the content-addressed store, hash-verified

60/* ===========================================================================
61 */
62int ZEXPORT compress (dest, destLen, source, sourceLen)
63 Bytef *dest;
64 uLongf *destLen;
65 const Bytef *source;
66 uLong sourceLen;
67{
68 return compress2(dest, destLen, source, sourceLen, Z_DEFAULT_COMPRESSION);
69}
70
71/* ===========================================================================
72 If the default memLevel or windowBits for deflateInit() is changed, then

Callers

nothing calls this directly

Calls 1

compress2Function · 0.85

Tested by

no test coverage detected