Skip to main content

split_utf16be_on_nul

Function split_utf16be_on_nul 

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

Split a UTF-16BE slice on NUL code units and decode every segment.

The big-endian twin of split_utf16le_on_nul.