Searched refs:read_u8 (Results 1 – 5 of 5) sorted by relevance
239 bpb.sector_per_cluster = cursor.read_u8()?; in new()241 bpb.num_fats = cursor.read_u8()?; in new()244 bpb.media = cursor.read_u8()?; in new()260 bpb32.drive_num = cursor.read_u8()?; in new()261 bpb32.reserved1 = cursor.read_u8()?; in new()262 bpb32.boot_sig = cursor.read_u8()?; in new()
2374 let dir_0 = cursor.read_u8()?; in get_raw_dir_entry()2385 let file_attr: FileAttributes = FileAttributes::new(cursor.read_u8()?); in get_raw_dir_entry()2394 long_dentry.ord = cursor.read_u8()?; in get_raw_dir_entry()2396 long_dentry.file_attrs = FileAttributes::new(cursor.read_u8()?); in get_raw_dir_entry()2397 long_dentry.dirent_type = cursor.read_u8()?; in get_raw_dir_entry()2398 long_dentry.checksum = cursor.read_u8()?; in get_raw_dir_entry()2410 short_dentry.attributes = FileAttributes::new(cursor.read_u8()?); in get_raw_dir_entry()2412 short_dentry.nt_res = cursor.read_u8()?; in get_raw_dir_entry()2413 short_dentry.crt_time_tenth = cursor.read_u8()?; in get_raw_dir_entry()
975 let next_byte = cursor.read_u8()? as u16; in get_free_cluster()
415 table.dpte[i].flags = cursor.read_u8()?; in read_mbr_table()416 table.dpte[i].starting_head = cursor.read_u8()?; in read_mbr_table()418 table.dpte[i].part_type = cursor.read_u8()?; in read_mbr_table()419 table.dpte[i].ending_head = cursor.read_u8()?; in read_mbr_table()
46 pub fn read_u8(&mut self) -> Result<u8, SystemError> { in read_u8() method