decode method

XdrTrustLineEntry decode (
  1. XdrDataInputStream stream
)

Implementation

static XdrTrustLineEntry decode(XdrDataInputStream stream) {
  XdrTrustLineEntry decodedTrustLineEntry = XdrTrustLineEntry();
  decodedTrustLineEntry.accountID = XdrAccountID.decode(stream);
  decodedTrustLineEntry.asset = XdrAsset.decode(stream);
  decodedTrustLineEntry.balance = XdrInt64.decode(stream);
  decodedTrustLineEntry.limit = XdrInt64.decode(stream);
  decodedTrustLineEntry.flags = XdrUint32.decode(stream);
  decodedTrustLineEntry.ext = XdrTrustLineEntryExt.decode(stream);
  return decodedTrustLineEntry;
}