Support N5 varlength
Varlength chunks store chunk data with arbitrary number of elements.
In z5py, varlength chunks cannot be read/written by []
.
Instead, this release also exposes access to chunks via
Dataset.write_chunk
/ Dataset.read_chunk
.
Chunks with variable length can be written via:
ds.write_chunk(chunk_id, var_len_data, varlen=True)
and chunks in varlength mode will be correctly read by read_chunk
.
Note that the zarr format does not support varlength chunks.