pub fn decode_range(
buf: &[u8],
object_index: usize,
ranges: &[(u64, u64)],
options: &DecodeOptions,
) -> Result<(DataObjectDescriptor, Vec<Vec<u8>>)>Expand description
Decode partial ranges from a data object.
ranges is a list of (element_offset, element_count) pairs.
Returns (descriptor, parts) where parts contains one Vec<u8>
per range. The descriptor is included so callers can determine
the dtype without a separate lookup.
options.verify_hash is ignored by this function — see
decode_range_from_frame for the rationale. Callers that
need integrity should reach for decode_object with
verify_hash=true.