Skip to main content

decode_utf16be_until_nul

Function decode_utf16be_until_nul 

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

Decode UTF-16BE up to the first NUL code unit, which terminates the string.

The big-endian twin of decode_utf16le_until_nul.