pub fn to_utf16(value: &str) -> Vec<u16>
Encode UTF-8 text into UTF-16 code units without a trailing NUL.