Пример #1
0
            public static LedgerKeyData Decode(XdrDataInputStream stream)
            {
                LedgerKeyData decodedLedgerKeyData = new LedgerKeyData();

                decodedLedgerKeyData.AccountID = AccountID.Decode(stream);
                decodedLedgerKeyData.DataName  = String64.Decode(stream);
                return(decodedLedgerKeyData);
            }
Пример #2
0
        public static DataEntry Decode(XdrDataInputStream stream)
        {
            DataEntry decodedDataEntry = new DataEntry();

            decodedDataEntry.AccountID = AccountID.Decode(stream);
            decodedDataEntry.DataName  = String64.Decode(stream);
            decodedDataEntry.DataValue = DataValue.Decode(stream);
            decodedDataEntry.Ext       = DataEntryExt.Decode(stream);
            return(decodedDataEntry);
        }
Пример #3
0
        public static ManageDataOp Decode(XdrDataInputStream stream)
        {
            ManageDataOp decodedManageDataOp = new ManageDataOp();

            decodedManageDataOp.DataName = String64.Decode(stream);
            int DataValuePresent = stream.ReadInt();

            if (DataValuePresent != 0)
            {
                decodedManageDataOp.DataValue = DataValue.Decode(stream);
            }
            return(decodedManageDataOp);
        }