@ Override public int getAvailable ( ) throws IOException { if ( _is == null ) { if ( _s == null ) return - 1 ; _is = _s . getInputStream ( ) ; } return _is . available ( ) ; }
Returns the number of bytes available to be read from the input stream .