question: public byte [ ] read ( ) throws IOException { ByteArrayOutputStream bout = new ByteArrayOutputStream ( ) ; int b = 0 ; while ( ( b = in . read ( ) ) >= 0 ) { bout . write ( b ) ; } return bout . toByteArray ( ) ; }
target:  Read all remaining bytes from the stream