Skip to main content

read_fname

Function read_fname 

Source
fn read_fname(data: &[u8], offset: usize) -> (Option<String>, usize)
Expand description

Read a length-prefixed, null-terminated FName string.

Layout: <u32 length><bytes><optional null> Returns (string, new_offset) or (None, offset) on failure.