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

`getLineAndColumnNumber` overloads

== Synopses

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

For the specified `byteOffset` in the specified `input`, load the offset&apos;s line number into the specified `lineNumber`, the column number into the specified `utf8Column`, and the byte offset for the start of the line into `startOfLineByteOffset`&period; Optionally specify `lineDelimeter` used to the determine line separator&period; If `lineDelimeter` is not supplied, lines are delimited using &grave;
&grave;&period; Return 0 on success, or a non&hyphen;zero value if `location` cannot be found in `input` or if `input` contains non&hyphen;UTF&hyphen;8 characters&period; The `utf8Column` is the number of UTF&hyphen;8 code points between `startOfLineByteOffset` and `byteOffset`&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;_]#

Same as the related overload above for `getLineAndColumnNumber`&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;_]#


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