# read_strs_to_null in zero - Rust
Returns an iterator which will return a sequence of strings from `input`. Each string must be a null-terminated utf8 string. The sequence of strings is terminated either by a second null byte, or the end of input.
Keywords: rust, rustlang, rust-lang, read_strs_to_null

# Function zero::read_strs_to_null

source · [−]

    pub fn read_strs_to_null<'a>(input: &'a [u8]) -> StrReaderIterator<'a>ⓘNotable traits for StrReaderIterator<'a>impl<'a> Iterator for StrReaderIterator<'a>    type Item = &'a str;

Expand description

Returns an iterator which will return a sequence of strings from `input`. Each string must be a null-terminated utf8 string. The sequence of strings is terminated either by a second null byte, or the end of input.