BZ2

class numcodecs.bz2.BZ2(level=1)

Codec providing compression using bzip2 via the Python standard library.

Parameters:

level : int

Compression level.

codec_id = 'bz2'
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.