decode method

XdrLedgerEntryV1 decode (
  1. XdrDataInputStream stream
)

Implementation

static XdrLedgerEntryV1 decode(XdrDataInputStream stream) {
  XdrLedgerEntryV1 decoded = XdrLedgerEntryV1();
  int sponsoringIDPresent = stream.readInt();
  if (sponsoringIDPresent != 0) {
    decoded.sponsoringID = XdrAccountID.decode(stream);
  }
  decoded.ext = XdrLedgerEntryV1Ext.decode(stream);
  return decoded;
}