Skip to main content
← PSoXide SDK guides and examples · SDK f2fec1c301f1 · All Cargo features enabled; check feature gates before use.

parse_entry

Function parse_entry 

Source
pub fn parse_entry(bytes: &[u8], index: usize) -> Option<PackEntry>
Expand description

Parse the table entry at index. bytes must start at the beginning of the pack (header included) and cover the entry; read header.header_sectors * SECTOR_BYTES up front and every entry is in range. None when the slice is too short.