pub fn update_array_bytes<'a>(
bytes: ArrayBytes<'_>,
shape: &[u64],
update_indexer: &dyn Indexer,
update_bytes: &ArrayBytes<'_>,
data_type_size: DataTypeSize,
) -> Result<ArrayBytes<'a>, CodecError>Expand description
Update array bytes.
§Errors
Returns a CodecError if
bytesare not compatible with theshapeanddata_type_size,update_bytesare not compatible with theupdate_indexeranddata_type_size,update_indexeris not within the bounds ofshape
§Panics
Panics if the indexer references bytes beyond usize::MAX.