BloombergLP::bdljsn::Tokenizer::readStatus

Return the status of the last call to reloadStringBuffer(): * 0 if reloadStringBuffer() has not been called or if a token was successfully read. * k_EOF (which is positive) if no data could be read before reaching EOF. * a negative value if the allowNonUtf8StringLiterals option is false and a UTF-8 error occurred. The specific value returned will be one of the enumerators of the bdlde::Utf8Util::ErrorStatus enum type indicating the nature of the UTF-8 error.

Synopsis

Declared in <bdljsn_tokenizer.h>

int
readStatus() const;