code: private int _current() {
          if (buf != null) {
              return UTF16.charAt(buf, 0, buf.length, bufPos);
          } else {
              int i = pos.getIndex();
              return (i < text.length()) ? UTF16.charAt(text, i) : DONE;
          }
      }
docs: Returns the current 32-bit code point without parsing escapes, parsing
  variables, or skipping whitespace.
  @return the current 32-bit code point