question: public int read ( byte b [ ] ) throws IOException , LogException { if ( length < b . length ) badRead ( b . length ) ; int len = in . read ( b ) ; length -= len ; return len ; }
target:  Reads data into an array of bytes. This method blocks until some input is available.