Bytelines is a simple library crate which offers line iteration for
&[u8] rather than
Due to the removal of checking for
String validity, this is typically
much faster for reading in raw data and much more flexible. The APIs
offered in this crate are intended to function exactly the same as the
lines function inside the
BufRead trait, except that the bytes which
precede the line delimiter are not validated.
Performance of ByteLines is practically identical
to that of writing a
loop manually, due to the avoidance of allocations.
Provides iteration over bytes of input, split by line.
Represents anything which can provide iterators of byte lines.