[#BloombergLP-bdlde-Utf8Util-getLineAndColumnNumber-0d]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlde.adoc[bdlde]::xref:BloombergLP/bdlde/Utf8Util.adoc[Utf8Util]::getLineAndColumnNumber
:relfileprefix: ../../../
:mrdocs:

Load line and column information for `byteOffset` in `input`&period;

== Synopses

Declared in `&lt;bdlde&lowbar;utf8util&period;h&gt;`

Load line and column information for `byteOffset` in `input`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
xref:BloombergLP/bdlde/Utf8Util/getLineAndColumnNumber-0c.adoc[getLineAndColumnNumber](
    xref:BloombergLP/bdlde/Utf8Util/Uint64.adoc[Uint64]* lineNumber,
    xref:BloombergLP/bdlde/Utf8Util/Uint64.adoc[Uint64]* utf8Column,
    xref:BloombergLP/bdlde/Utf8Util/Uint64.adoc[Uint64]* startOfLineByteOffset,
    std::streambuf* input,
    xref:BloombergLP/bdlde/Utf8Util/Uint64.adoc[Uint64] byteOffset);
----

[.small]#xref:BloombergLP/bdlde/Utf8Util/getLineAndColumnNumber-0c.adoc[_» more&period;&period;&period;_]#

Load line and column information for `byteOffset` in `input`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
xref:BloombergLP/bdlde/Utf8Util/getLineAndColumnNumber-05.adoc[getLineAndColumnNumber](
    xref:BloombergLP/bdlde/Utf8Util/Uint64.adoc[Uint64]* lineNumber,
    xref:BloombergLP/bdlde/Utf8Util/Uint64.adoc[Uint64]* utf8Column,
    xref:BloombergLP/bdlde/Utf8Util/Uint64.adoc[Uint64]* startOfLineByteOffset,
    std::streambuf* input,
    xref:BloombergLP/bdlde/Utf8Util/Uint64.adoc[Uint64] byteOffset,
    char lineDelimeter);
----

[.small]#xref:BloombergLP/bdlde/Utf8Util/getLineAndColumnNumber-05.adoc[_» more&period;&period;&period;_]#

== Return Value

0 on success, and a non&hyphen;zero value otherwise

== Parameters

[cols="1,4"]
|===
| Name| Description
| *lineNumber*
| receives the 1&hyphen;based line number of `byteOffset`
| *utf8Column*
| receives the UTF&hyphen;8 column within the line
| *startOfLineByteOffset*
| receives the byte offset of the line start
| *input*
| stream buffer containing UTF&hyphen;8 text
| *byteOffset*
| byte offset whose line and column are requested
| *lineDelimeter*
| character used to delimit lines
|===


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