@ Override public void write ( final int b ) throws IOException { if ( closed ) { throw new IOException ( "Cannot write to a closed output stream" ) ; } if ( bufferCount >= buffer . length ) { flushToGZip ( ) ; } buffer [ bufferCount ++ ] = ( byte ) b ; }
Writes the specified byte to our output stream .