pub fn decode_utf8(buf: &mut &[u8]) -> Result<String, EncodingError>Expand description
Decode a UTF-8 string.
Format: len: u16 (little-endian) + len bytes of UTF-8
pub fn decode_utf8(buf: &mut &[u8]) -> Result<String, EncodingError>Decode a UTF-8 string.
Format: len: u16 (little-endian) + len bytes of UTF-8