Some methods are absolute and some relative:

https://docs.oracle.com/en/java/javase/24/docs/api/java.base/java/nio/Buffer.html#transferring-data-heading

On Jul 2, 2025, at 8:35 AM, Brett Okken <brett.okken...@gmail.com> wrote:

CharBuffer implementation of public default void getChars(int
srcBegin, int srcEnd, char[] dst, int dstBegin) uses absolute
positioning for the indexes (i.e. ignores the current position).

Reply via email to