pub fn encode_utf16(out: &mut Vec<u16>, cp: u32)
Encode a 32-bit value into UTF-16, appending to out. If the value is a part of a surrogate pair, it is encoded without any conversion. Port of encodeUTF16 (UTF8.h:197-210).
out
encodeUTF16