readOrThrow
Returns the next character in the stream and advances the position. Throws an exception if the end of the stream would be exceeded.
Parameters
errCondition
The condition to include in an error message if necessary.
Returns the next character in the stream and advances the position. Throws an exception if the end of the stream would be exceeded.
The condition to include in an error message if necessary.