Function zero::read_str

source · []
pub fn read_str<'a>(input: &'a [u8]) -> &'a str
Expand description

Read a string from input. The string must be a null-termianted utf8 string. Note that an ascii C string fulfils this requirement.