next method

int next()

Implementation

int next() {
  ++index;
  return index == endOfFile ? char.NULL : input[index];
}