Skip to main content

parse_exfat_boot

Function parse_exfat_boot 

Source
pub fn parse_exfat_boot(boot: &[u8]) -> Result<Geometry>
Expand description

Parse the exFAT main boot sector into a Geometry (variant FatVariant::ExFat). data_start is set to the cluster-heap offset so the shared cluster_offset maps clusters uniformly with the FAT path.

Fails loud, naming the offending value, on any invalid field.