pub fn segments(
sidx: &SegmentIndexBox,
anchor: u64,
) -> Result<Vec<IndexedSegment>, AddressError>Expand description
The subsegments of sidx, with byte ranges relative to the file start.
anchor is anchor_after of the @indexRange.
ยงErrors
AddressError::Unsupported for a hierarchical index;
AddressError::Overflow for sizes that overflow a file offset.