read_string_ref_nomut

Function read_string_ref_nomut 

Source
pub fn read_string_ref_nomut(buf: &[u8]) -> Result<(&str, &[u8]), DecodeError>
Expand description

Read a string from buf.

§Errors

Fails if the buffer doesn’t contain a valid utf8 msgpack string.