Function topfew::chunks[][src]

pub fn chunks(path: PathBuf) -> Result<Chunker<FileSource>>
Expand description

Create an Iterator over chunks of lines of a file.

The last line in a chunk potentially reads over the chunk byte boundary to find the line end. In the same way the first line searches the line end.