StringCharBuffer and bulk get

Brian Burkhalter brian.burkhalter at oracle.com
Wed Jul 2 15:40:18 UTC 2025


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.os at 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).

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/core-libs-dev/attachments/20250702/e7034110/attachment.htm>


More information about the core-libs-dev mailing list