protected void writeInitialStyles() throws IOException {
  out.flushBits();
  fillBits=OutStream.determineUnsignedBitSize(fillStyles.size());
  lineBits=OutStream.determineUnsignedBitSize(lineStyles.size());
  if (!hasStyle) {
    fillBits=1;
  }
 else {
    writeStyles(fillStyles);
    writeStyles(lineStyles);
    out.flushBits();
  }
  out.writeUBits(4,fillBits);
  out.writeUBits(4,lineBits);
}

protected void writeInitialStyles ( ) throws IOException { out . flushBits ( ) ; fillBits = OutStream . determineUnsignedBitSize ( fillStyles . size ( ) ) ; lineBits = OutStream . determineUnsignedBitSize ( lineStyles . size ( ) ) ; if ( ! hasStyle ) { fillBits = 1 ; } else { writeStyles ( fillStyles ) ; writeStyles ( lineStyles ) ; out . flushBits ( ) ; } out . writeUBits ( 4 , fillBits ) ; out . writeUBits ( 4 , lineBits ) ; }
description of the method
