decode method

XdrLedgerHeaderHistoryEntry decode (
  1. XdrDataInputStream stream
)

Implementation

static XdrLedgerHeaderHistoryEntry decode(XdrDataInputStream stream) {
  XdrLedgerHeaderHistoryEntry decodedLedgerHeaderHistoryEntry =
      XdrLedgerHeaderHistoryEntry();
  decodedLedgerHeaderHistoryEntry.hash = XdrHash.decode(stream);
  decodedLedgerHeaderHistoryEntry.header = XdrLedgerHeader.decode(stream);
  decodedLedgerHeaderHistoryEntry.ext =
      XdrLedgerHeaderHistoryEntryExt.decode(stream);
  return decodedLedgerHeaderHistoryEntry;
}