Function flussab::text::next_newline[][src]

pub fn next_newline(input: &mut ByteReader<'_>, offset: usize) -> usize

Passes over the next newline.

This increments offset until it finds a newline, over which it also passes, or reaches the end of the input. It returns the resulting value.