https://bugs.openjdk.java.net/browse/JDK-8139206
http://cr.openjdk.java.net/~bpb/8139206/webrev.00/

This change would add a new method “byte[] InputStream.readNBytes(int len)” 
which would read up to at most ‘len’ bytes from  the stream and return them in 
an internally allocated array.

Thanks,

Brian

Reply via email to