pub fn encode_utf16_string(s: &str, buf: &mut BytesMut)
Encode a string as UTF-16LE with length prefix.