pub fn encode_utf8(s: &str, buf: &mut BytesMut)
Encode a UTF-8 string.
Format: len: u16 (little-endian) + len bytes of UTF-8
len: u16
len