public static IntSet read(IntSet acc, final DataInput in) {
    try {
      int size = DataInputOutputUtil.readINT(in);
      for (int i = 0; i<size; i++) {
        acc.add(DataInputOutputUtil.readINT(in));
      }
      return acc;
    }
    catch (IOException x) {
      throw new BuildDataCorruptedException(x);
    }
  }
public static IntSet read(IntSet acc, final DataInput in)