pub fn decode_utf16le_keep_nuls(bytes: &[u8]) -> DecodedUtf16Expand description
Decode the whole slice as UTF-16LE, keeping NUL code units as U+0000 characters.
No NUL is treated as a terminator. Use this when the field length is authoritative and the bytes are exactly the string.