public static void Encode(IByteWriter stream, AllowTrustOp encodedAllowTrustOp) { AccountID.Encode(stream, encodedAllowTrustOp.Trustor); AllowTrustOpAsset.Encode(stream, encodedAllowTrustOp.Asset); XdrEncoding.WriteBool(stream, encodedAllowTrustOp.Authorize); }