Function zero::read_str

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

Read a string from input. The string must be a null-terminated UTF-8 string. Note that an ASCII C string fulfills this requirement.