public static TrustLineEntry Decode(XdrDataInputStream stream) { TrustLineEntry decodedTrustLineEntry = new TrustLineEntry(); decodedTrustLineEntry.AccountID = AccountID.Decode(stream); decodedTrustLineEntry.Asset = Asset.Decode(stream); decodedTrustLineEntry.Balance = Int64.Decode(stream); decodedTrustLineEntry.Limit = Int64.Decode(stream); decodedTrustLineEntry.Flags = Uint32.Decode(stream); decodedTrustLineEntry.Ext = TrustLineEntryExt.Decode(stream); return decodedTrustLineEntry; }
public static TrustLineEntry Decode(IByteReader stream) { TrustLineEntry decodedTrustLineEntry = new TrustLineEntry(); decodedTrustLineEntry.AccountID = AccountID.Decode(stream); decodedTrustLineEntry.Asset = Asset.Decode(stream); decodedTrustLineEntry.Balance = Int64.Decode(stream); decodedTrustLineEntry.Limit = Int64.Decode(stream); decodedTrustLineEntry.Flags = Uint32.Decode(stream); decodedTrustLineEntry.Ext = TrustLineEntryExt.Decode(stream); return(decodedTrustLineEntry); }