MCPcopy Create free account
hub / github.com/HelenOS/helenos / deflate

Function deflate

tools/mkarray.py:48–50  ·  view source on GitHub ↗

Compress using deflate algorithm (without any headers)

(data)

Source from the content-addressed store, hash-verified

46 sys.exit()
47
48def deflate(data):
49 "Compress using deflate algorithm (without any headers)"
50 return zlib.compress(data, 9)[2:-4]
51
52def chunks(string, length):
53 "Produce string chunks"

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected