32-bit checksums

CRC32

class numcodecs.checksum32.CRC32
codec_id = 'crc32'
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.

Adler32

class numcodecs.checksum32.Adler32
codec_id = 'adler32'
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.