public static AllowTrustOp Decode(IByteReader stream) { AllowTrustOp decodedAllowTrustOp = new AllowTrustOp(); decodedAllowTrustOp.Trustor = AccountID.Decode(stream); decodedAllowTrustOp.Asset = AllowTrustOpAsset.Decode(stream); decodedAllowTrustOp.Authorize = XdrEncoding.ReadBool(stream); return(decodedAllowTrustOp); }