private void receiveEGTable() { int nBytes = (nBits - 1) / 8 + 1; try { for (int j = 0; j < nCols; j++) EGTable[j] = Utils.readBigInteger(nBytes * Wire.labelBitLength, ois); } catch (Exception e) { e.printStackTrace(); System.exit(1); } }
private void receiveEGTable_EXT() { int nBytes = (nBits - 1) / 8 + 1; try { for (int j = 0; j < nCols; j++) { boolean temp = ois.readBoolean(); if (temp) EGTable[j] = Utils.readBigInteger(nBytes * Wire.labelBitLength, ois); else EGTable[j] = null; } } catch (Exception e) { e.printStackTrace(); System.exit(1); } }