Skip to main content

wtf8_to_utf16

Function wtf8_to_utf16 

Source
pub fn wtf8_to_utf16(bytes: &[u8], out: &mut Vec<u16>)
Expand description

Decode WTF-8 back to UTF-16 units (inverse of push_wtf8_pair’s name output). Used when handing names across the FFI boundary.