question: public long available ( ) throws IOException { if ( inputStream == null ) { throw new IOException ( "Stream closed" ) ; } return inputStream . available ( ) ; }
target:  Return how many bytes the input stream thinks are available.