Function decode_string_from_slice

Source
pub fn decode_string_from_slice(slice: &[u8]) -> Result<(String, usize), Error>
Expand description

Decodes a String from the slice containing bin_prot encoded bytes. Returns the resulting value and the number of bytes read from the reader.