Skip to main content

skip_newlines

Function skip_newlines 

Source
pub fn skip_newlines<R: Read>(
    reader: &mut R,
    n: u64,
    tick: impl Fn(u64, u64),
) -> Result<(u64, Vec<u8>)>
Expand description

Skip n newline-terminated records. Returns (bytes consumed, unread tail after the nth newline so the next parser does not lose triples).