Function zero::read_strs_to_null[][src]

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;

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.