Skip to main content

decode_string

Function decode_string 

Source
pub fn decode_string(input: &[u8]) -> Result<(String, usize), StringError>
Expand description

Decode a string from a byte slice.

Returns (decoded_string, bytes_consumed).

§Errors

Siehe StringError.