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

parse_header

Function parse_header 

Source
pub fn parse_header(bytes: &[u8]) -> Option<PackHeader>
Expand description

Parse and validate the fixed header from the first pack bytes (any slice covering at least HEADER_BYTES, e.g. the first sector). None on wrong magic or version.