question: public void flushBits ( ) throws IOException { if ( bitPos == 0 ) { return ; } out . write ( bitBuf ) ; bitBuf = 0 ; bitPos = 0 ; bytesWritten ++ ; }
target:  Flush the bit buffer to the output stream and reset values