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.
pub fn decode_utf8_bmp(bytes: &[u8]) -> (Vec<u16>, DecodeStats)Decodes bytes; the result never contains surrogates and is never longer than the input.