Expand description
LineReader
A fast byte-delimiter-oriented buffered reader, offering a faster alternative
to read_until
that returns byte slices into its internal buffer rather than
copying them out to one you provide.
Because the internal buffer is fixed, lines longer than the buffer will be split.
Structsยง
- Line
Reader - The
LineReader
struct adds buffered, byte-delimited (default:\n
) reading to any io::Reader.