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
- https://zarr-specs.readthedocs.io/en/latest/v3/codecs/bytes/index.html
- https://github.com/zarr-developers/zarr-extensions/tree/main/codecs/bytes
§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§
- Bytes
Codec - A
bytes
codec implementation. - Bytes
Codec Configuration V1 bytes
codec configuration parameters (version 1.0).
Enums§
- Bytes
Codec Configuration - A wrapper to handle various versions of
bytes
codec configuration parameters.