Skip to main content

decode_name

Function decode_name 

Source
pub fn decode_name(raw: &[u8], flags: u16) -> String
Expand description

UTF-8 when general-purpose flag bit 11 says so, else CP437 as the spec and .NET have it, so a file is written under the name the game expects.