BloombergLP::bdljsn::Tokenizer::currentPosition

Return the offset of the current octet being tokenized.

Synopsis

Declared in <bdljsn_tokenizer.h>

bsls::Types::Uint64
currentPosition() const;

Description

Return the offset of the current octet being tokenized in the stream supplied to reset, or if an error occurred, the position where the failed attempt to tokenize a token occurred. Note that this operation is intended to provide additional information in the case of an error.

Return Value

the offset of the current octet being tokenized, or the error position