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

Name

Description

str

The buffer to read from.

max_line_length

Maximum length of a line returned by ReadLine.

Created with MrDocs