Closed clbarnes closed 1 year ago
To do: improve error handling here. Maybe AB codecs need an endian()
method, which ArrayMetadata
can access through the CodecChain
and check against the dtype - then it's justifiable to leave the undefined endianness at the codec level as a panic rather than making it fallible.
Or this all becomes fine anyway as codec ops probably need to be fallible anyway.
Added validation of endianness on arraymetadata construction.
Also updates for recent spec changes:
See https://github.com/zarr-developers/zarr-specs/pull/263