Module bytes

Source
Expand description

The bytes array to bytes codec (Core).

Encodes arrays of fixed-size numeric data types as little endian or big endian in lexicographical order.

§Compatible Implementations:

This is a core codec and should be compatible with all Zarr V3 implementations that support it.

§Specification

§Specification Deviations

The bytes specification defines a fixed set of supported data types, whereas the bytes codec in zarrs supports any fixed size data type that implements the DataTypeExtensionBytesCodec trait.

§Codec name Aliases (Zarr V3)

  • bytes

§Codec id Aliases (Zarr V2)

None

§Codec configuration Example - BytesCodecConfiguration:

{
    "endian": "little"
}

Structs§

BytesCodec
A bytes codec implementation.
BytesCodecConfigurationV1
bytes codec configuration parameters (version 1.0).

Enums§

BytesCodecConfiguration
A wrapper to handle various versions of bytes codec configuration parameters.