Zlib¶
-
class
numcodecs.zlib.
Zlib
(level=1)¶ Codec providing compression using zlib via the Python standard library.
Parameters: level : int
Compression level.
-
codec_id
= 'zlib'¶
-
encode
(buf)¶
-
decode
(buf, out=None)¶
-
get_config
()¶ Return a dictionary holding configuration parameters for this codec. Must include an ‘id’ field with the codec identifier. All values must be compatible with JSON encoding.
-
from_config
(config)¶ Instantiate codec from a configuration object.
-