pub fn write_array<T: ZzarrElement>(
path: &Path,
shape: &[u64],
chunks: &[u64],
values: &[T],
compress: bool,
) -> StorageResult<()>Expand description
Create a Zarr v3 array and write every element.
compress selects the bytes-only or bytes+zstd codec chain.
Fails with StorageError::InvalidState when the path already holds
an array.