public static AccountEntryV1 Decode(XdrDataInputStream stream)
                {
                    AccountEntryV1 decodedAccountEntryV1 = new AccountEntryV1();

                    decodedAccountEntryV1.Liabilities = Liabilities.Decode(stream);
                    decodedAccountEntryV1.Ext         = AccountEntryV1Ext.Decode(stream);
                    return(decodedAccountEntryV1);
                }
Beispiel #2
0
 public static void Encode(XdrDataOutputStream stream, AccountEntryV1Ext encodedAccountEntryV1Ext)
 {
     stream.WriteInt((int)encodedAccountEntryV1Ext.Discriminant);
     switch (encodedAccountEntryV1Ext.Discriminant)
     {
     case 0:
         break;
     }
 }
Beispiel #3
0
                    public static AccountEntryV1Ext Decode(XdrDataInputStream stream)
                    {
                        AccountEntryV1Ext decodedAccountEntryV1Ext = new AccountEntryV1Ext();
                        int discriminant = stream.ReadInt();

                        decodedAccountEntryV1Ext.Discriminant = discriminant;
                        switch (decodedAccountEntryV1Ext.Discriminant)
                        {
                        case 0:
                            break;
                        }
                        return(decodedAccountEntryV1Ext);
                    }
 public static void Encode(XdrDataOutputStream stream, AccountEntryV1 encodedAccountEntryV1)
 {
     Liabilities.Encode(stream, encodedAccountEntryV1.Liabilities);
     AccountEntryV1Ext.Encode(stream, encodedAccountEntryV1.Ext);
 }