Skip to main content

decode_utf8_bmp

Function decode_utf8_bmp 

Source
pub fn decode_utf8_bmp(bytes: &[u8]) -> (Vec<u16>, DecodeStats)
Expand description

Decodes bytes; the result never contains surrogates and is never longer than the input.