MCPcopy Create free account
hub / github.com/arkdb/inception / compress2

Function compress2

zlib/compress.c:22–58  ·  view source on GitHub ↗

=========================================================================== Compresses the source buffer into the destination buffer. The level parameter has the same meaning as in deflateInit. sourceLen is the byte length of the source buffer. Upon entry, destLen is the total size of the destination buffer, which must be at least 0.1% larger than sourceLen plus 12 bytes. Upon ex

(dest, destLen, source, sourceLen, level)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

compressFunction · 0.85

Calls 2

deflateFunction · 0.85
deflateEndFunction · 0.85

Tested by

no test coverage detected