decode method

XdrLedgerHeaderHistoryEntryExt decode (
  1. XdrDataInputStream stream
)

Implementation

static XdrLedgerHeaderHistoryEntryExt decode(XdrDataInputStream stream) {
  XdrLedgerHeaderHistoryEntryExt decodedLedgerHeaderHistoryEntryExt =
      XdrLedgerHeaderHistoryEntryExt();
  int discriminant = stream.readInt();
  decodedLedgerHeaderHistoryEntryExt.discriminant = discriminant;
  switch (decodedLedgerHeaderHistoryEntryExt.discriminant) {
    case 0:
      break;
  }
  return decodedLedgerHeaderHistoryEntryExt;
}