inputFile.readIntegerArray(nodeinfo[i], 0, 2);
}
if (Debug.debugging("vpfserver")) {
int baseOffset = 24 + nodesInTree * 8;
BitSet b = new BitSet(nodesInTree);
int actprimcnt = 0;
b.set(0);
for (int i = 0; i < nodesInTree; i++) {
if ((baseOffset + nodeinfo[i][0]) != inputFile.getFilePointer()) {
throw new FormatException("SI Input appears to be out-of-sync");
}
StringBuffer pr = new StringBuffer("i=" + (i + 1));
pr.append(" offset=" + nodeinfo[i][0]);
pr.append(" count=" + nodeinfo[i][1]);
for (int j = 0; j < nodeinfo[i][1]; j++) {
actprimcnt++;
PrimitiveRecord prim = new PrimitiveRecord(inputFile);
pr.append("\n\t").append(prim.toString());
}
if (nodeinfo[i][1] != 0) {
if ((i < 15) || ((i + 1) == nodesInTree)) {
System.out.println(pr);
}
b.set(i + 1);
if (!b.get((i + 1) / 2)) {
throw new FormatException("condition failed");
}
}
}
if (actprimcnt == numberOfPrimitives) {