Load line and column information for byteOffset in input.
Declared in <bdlde_utf8util.h>
static
int
getLineAndColumnNumber(
Uint64* lineNumber,
Uint64* utf8Column,
Uint64* startOfLineByteOffset,
std::streambuf* input,
Uint64 byteOffset,
char lineDelimeter);
Same as the related overload above for getLineAndColumnNumber.
0 on success, and a non-zero value otherwise
| Name | Description |
|---|---|
| lineNumber | receives the 1-based line number of byteOffset |
| utf8Column | receives the UTF-8 column within the line |
| startOfLineByteOffset | receives the byte offset of the line start |
| input | stream buffer containing UTF-8 text |
| byteOffset | byte offset whose line and column are requested |
| lineDelimeter | character used to delimit lines |