For some applications, it is useful to supply the already encoded chunks to be written into a Zarr array without decoding+encoding. An example is a JPEG -> zarr (with jpeg codec), where is would result in loss of quality if the data had to be decoded and encoded. So, there should be functions on the Array classes to read and write chunks directly. This should also work with sharding, where a user would supply multiple chunks that go into a shard.
For some applications, it is useful to supply the already encoded chunks to be written into a Zarr array without decoding+encoding. An example is a JPEG -> zarr (with jpeg codec), where is would result in loss of quality if the data had to be decoded and encoded. So, there should be functions on the Array classes to read and write chunks directly. This should also work with sharding, where a user would supply multiple chunks that go into a shard.