Skip to main content

to_utf16

Function to_utf16 

Source
pub fn to_utf16(value: &str) -> Vec<u16>
Expand description

Encode UTF-8 text into UTF-16 code units without a trailing NUL.