Skip to main content

decode_utf8

Function decode_utf8 

Source
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