decode static method
Implementation
static XdrAccountEntry decode(XdrDataInputStream stream) {
XdrAccountID xAccountID = XdrAccountID.decode(stream);
XdrInt64 xBalance = XdrInt64.decode(stream);
XdrSequenceNumber xSeqNum = XdrSequenceNumber.decode(stream);
XdrUint32 xNumSubEntries = XdrUint32.decode(stream);
XdrAccountID? xInflationDest;
int inflationDestPresent = stream.readInt();
if (inflationDestPresent != 0) {
xInflationDest = XdrAccountID.decode(stream);
}
XdrUint32 xFlags = XdrUint32.decode(stream);
XdrString32 xHomeDomain = XdrString32.decode(stream);
XdrThresholds xThresholds = XdrThresholds.decode(stream);
int signersSize = stream.readInt();
List<XdrSigner> xSigners = List<XdrSigner>.empty(growable: true);
for (int i = 0; i < signersSize; i++) {
xSigners.add(XdrSigner.decode(stream));
}
XdrAccountEntryExt xExt = XdrAccountEntryExt.decode(stream);
return XdrAccountEntry(xAccountID, xBalance, xSeqNum, xNumSubEntries,
xInflationDest, xFlags, xHomeDomain, xThresholds, xSigners, xExt);
}