MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / zlib_encode

Function zlib_encode

tools/python-3.11.9-amd64/Lib/encodings/zlib_codec.py:13–15  ·  view source on GitHub ↗
(input, errors='strict')

Source from the content-addressed store, hash-verified

11### Codec APIs
12
13def zlib_encode(input, errors='strict'):
14 assert errors == 'strict'
15 return (zlib.compress(input), len(input))
16
17def zlib_decode(input, errors='strict'):
18 assert errors == 'strict'

Callers 1

encodeMethod · 0.85

Calls 1

compressMethod · 0.80

Tested by

no test coverage detected