public short calcHeaderLength(DbfTableModel model){
  int length=0;
  length+=model.getColumnCount() * 32;
  length+=32;
  length+=1;
  Integer integer=new Integer(length);
  return integer.shortValue();
}

public short calcHeaderLength ( DbfTableModel model ) { int length = 0 ; length += model . getColumnCount ( ) * 32 ; length += 32 ; length += 1 ; Integer integer = new Integer ( length ) ; return integer . shortValue ( ) ; }
calculates the length of the header in terms of bytes
