Function flussab::text::next_newline

source ·
pub fn next_newline(input: &mut DeferredReader<'_>, offset: usize) -> usize
Expand description

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.