RFR of 8180451: ByteArrayInputStream should override readAllBytes, readNBytes, and transferTo

Brian Burkhalter brian.burkhalter at oracle.com
Tue Dec 12 19:44:07 UTC 2017


On Dec 12, 2017, at 11:42 AM, Paul Sandoz <paul.sandoz at oracle.com> wrote:

>  int len = count - pos
>  out.write(but, pos, len);
>  pos = count;
>  return len;

Indeed that is clearer.

Thanks,

Brian


More information about the core-libs-dev mailing list