@Override public void write(byte[] b,int off,int len) throws IOException {
  flushBits();
  out.write(b,off,len);
}

@ Override public void write ( byte [ ] b , int off , int len ) throws IOException { flushBits ( ) ; out . write ( b , off , len ) ; }
commit any outstanding bit writes and then write some bytes to the underlying output stream .
