Function zarrs::storage::retrieve_chunk

source ·
pub fn retrieve_chunk(
    storage: &dyn ReadableStorageTraits,
    array_path: &NodePath,
    chunk_grid_indices: &[u64],
    chunk_key_encoding: &ChunkKeyEncoding,
) -> Result<MaybeBytes, StorageError>
Expand description

Retrieve a chunk.

§Errors

Returns a StorageError if there is an underlying error with the store.