next method

String next()

Implementation

String next() {
  if (canRead) {
    skipWhitespace();
    return _buffer[_position++];
  } else {
    throw Exception("End of buffer reached");
  }
}