6516099: InputStream.skipFully(int k) to skip exactly k bytes
brian.burkhalter at oracle.com
Mon Oct 1 21:44:04 UTC 2018
This patch implements a method InputStream.skipNBytes() instead of skipFully() based on the supposition that this name is less likely to conflict with existing subclasses, e.g., . There is some inconsistency however with respect to the description of the method readNBytes() , which may return fewer than N bytes if end of stream is reached first.
If we converge on a solution in this thread I’ll file a CSR.
More information about the core-libs-dev