pub fn decode_range(
buf: &[u8],
object_index: usize,
ranges: &[(u64, u64)],
options: &DecodeOptions,
) -> Result<(DataObjectDescriptor, Vec<Vec<u8>>), TensogramError>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.