Skip to main content

utf16

Function utf16 

Source
pub fn utf16(bytes: &[u8], big_endian: bool) -> String
Expand description

Text from a fixed-width UTF-16 field, NUL and space units trimmed from the right. An odd last byte and unpaired surrogates read as the replacement character.