Function flussab::text::newline [−][src]
pub fn newline(input: &mut ByteReader<'_>, offset: usize) -> usize
Passes over a single newline if present.
This increments offset
by 1 if it points to "\n"
and by 2 if it points to "\r\n"
, leaving
it unchanged otherwise. It returns the resulting value.