public int readFully ( byte b [ ] , int off , int len ) throws IOException { IOUtils . readFully ( inStream , b , off , len ) ; return len ; }
Read a number of bytes from the input stream blocking until all requested bytes are read or end of file is reached .