Skip to main content

parse_index

Function parse_index 

Source
pub fn parse_index(bytes: &[u8]) -> Result<SegmentIndexBox, AddressError>
Expand description

Parse the bytes of @indexRange (the whole sidx box, header included).

ยงErrors

AddressError::Sidx when the bytes are not a sidx box.