Function zarrs::storage::retrieve_partial_values

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

Retrieve byte ranges from a chunk.

Returns None where keys are not found.

§Errors

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