I think that this discussion should be redirected to nio-dev: https://mail.openjdk.org/pipermail/nio-dev/
On Jul 2, 2025, at 9:00 AM, Brett Okken <brett.okken...@gmail.com> wrote: Actually it looks like the CharBuffer java doc explicitly states that all CharSequence should be relative: This class implements the CharSequence interface so that character buffers may be used wherever character sequences are accepted, for example in the regular-expression package java.util.regex. The methods defined by CharSequence operate relative to the current position of the buffer when they are invoked.