encode_utf16_string

Function encode_utf16_string 

Source
pub fn encode_utf16_string(s: &str, buf: &mut BytesMut)
Expand description

Encode a string as UTF-16LE with length prefix.