fatfs

Trait OemCpConverter

Source
pub trait OemCpConverter: Debug {
    // Required methods
    fn decode(&self, oem_char: u8) -> char;
    fn encode(&self, uni_char: char) -> Option<u8>;
}
Expand description

An OEM code page encoder/decoder.

Provides a custom implementation for a short name encoding/decoding. OemCpConverter is specified by the oem_cp_converter property in FsOptions struct.

Required Methods§

Source

fn decode(&self, oem_char: u8) -> char

Source

fn encode(&self, uni_char: char) -> Option<u8>

Implementors§