5071718: (bf) Add ByteBuffer.slice(int offset, int length)

Alan Bateman Alan.Bateman at oracle.com
Tue Feb 26 08:43:52 UTC 2019



On 26/02/2019 01:48, Brian Burkhalter wrote:
> Hi Brent,
>
> That does read better.
It's consistent with the existing slice method so I think it's good too.

Otherwise looks good to me, kudos to Roger for spotting the error with 
the 0 length case, that would have been embarrassing to get wrong.

-Alan


More information about the nio-dev mailing list