public void reset() {
      offset = 0;
      length = 0;
      lastTrailingHighSurrogate = 0;
    }
Resets the CharacterBuffer. All internals are reset to its default
values.
linguistics/src/main/java/com/yahoo/language/simple/kstem/CharacterUtils.java