Skip to main content

make_sfn

Function make_sfn 

Source
fn make_sfn(name: &str) -> [u8; 11]
Expand description

Build an 8.3 short name from a string for comparison.

Follows FAT32 spec:

  • Uppercase all characters
  • Ignore spaces
  • Truncate to 8+3
  • Names starting with 0xE5 are stored as 0x05