public final CharSequence subSequence(int start, int end) {checkStartEndRemaining(start, end);CharBuffer result = duplicate();result.limit(position + end);result.position(position + start);return result;}
public sealed override java.lang.CharSequence SubSequence(int start, int end){checkStartEndRemaining(start, end);java.nio.CharBuffer result = duplicate();result.limit(_position + end);result.position(_position + start);return result;}