Skip to main content

decode_utf16be_keep_nuls

Function decode_utf16be_keep_nuls 

Source
pub fn decode_utf16be_keep_nuls(bytes: &[u8]) -> DecodedUtf16
Expand description

Decode the whole slice as UTF-16BE, keeping NUL code units as U+0000 characters.

The big-endian twin of decode_utf16le_keep_nuls.