Skip to main content

verify_segment_ranges

Function verify_segment_ranges 

Source
pub(crate) fn verify_segment_ranges(
    footer: &[FooterEntry],
    footer_start: usize,
) -> Result<()>
Expand description

Checks that the segments footer describes tile the object body: the first starts right after the header, each follows the previous one without a gap or overlap, and the last ends where the footer at footer_start begins.