Reads up to <code>b.length</code> bytes of data from this input
stream into an array of bytes. This method blocks until some input
is available.
@param b the buffer into which the data is read.
@return the total number of bytes read into the buffer, or
<code>-1</code> if there is no more data because the end of
the file has been reached.
@exception IOException if an I/O error occurs.
Reads up to <code>b.length</code> bytes of data from this input stream into an array of bytes. This method blocks until some input is available.
@param b the buffer into which the data is read. @return the total number of bytes read into the buffer, or <code>-1</code> if there is no more data because the end of the file has been reached. @exception IOException if an I/O error occurs.