[#util-LineReader-2constructor]
= xref:util.adoc[util]::xref:util/LineReader.adoc[LineReader]::LineReader
:relfileprefix: ../../
:mrdocs:

Construct a reader over str that limits lines to max&lowbar;line&lowbar;length bytes&period;

== Synopsis

Declared in `&lt;util&sol;string&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
LineReader(
    std::string&lowbar;view str,
    size&lowbar;t max&lowbar;line&lowbar;length);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *str*
| The buffer to read from&period;
| *max&lowbar;line&lowbar;length*
| Maximum length of a line returned by ReadLine&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
