In class DataInputStream, the method ReadFully can hit eof and return without reading all the chars requested, BUT you can't find out how many chars it DID
read.
Perhaps we should add a
int InputStream.readBlocking( byte[] ba, int offset, int length);
read.
Perhaps we should add a
int InputStream.readBlocking( byte[] ba, int offset, int length);
- duplicates
-
JDK-8080835 Add blocking bulk read operations to java.io.InputStream
- Closed