RFR of 8180451: ByteArrayInputStream should override readAllBytes, readNBytes, and transferTo (original) (raw)
Brian Burkhalter brian.burkhalter at oracle.com
Tue Dec 12 19:44:07 UTC 2017
- Previous message: RFR of 8180451: ByteArrayInputStream should override readAllBytes, readNBytes, and transferTo
- Next message: RFR of 8180451: ByteArrayInputStream should override readAllBytes, readNBytes, and transferTo
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: RFR of 8180451: ByteArrayInputStream should override readAllBytes, readNBytes, and transferTo
- Next message: RFR of 8180451: ByteArrayInputStream should override readAllBytes, readNBytes, and transferTo
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]