util::LineReader::LineReader

Construct a reader over str that limits lines to max_line_length bytes.

Synopsis

Declared in <util/string.h>

explicit
LineReader(
    std::string_view str,
    size_t max_line_length);

Parameters

NameDescription
strThe buffer to read from.
max_line_lengthMaximum length of a line returned by ReadLine.