public int read(byte[] b,
int off,
int len)
throws IOException
Reads up to len bytes of data from this input stream into an array of bytes. This method blocks until some input is available.
b - the buffer into which the data is read.
off - the start offset of the data.
len - the maximum number of bytes read.