Example #1
0
            public static LedgerKeyData Decode(XdrDataInputStream stream)
            {
                var decodedLedgerKeyData = new LedgerKeyData();

                decodedLedgerKeyData.AccountID = AccountID.Decode(stream);
                decodedLedgerKeyData.DataName  = String64.Decode(stream);
                return(decodedLedgerKeyData);
            }
Example #2
0
            public static LedgerKeyData Decode(IByteReader stream)
            {
                LedgerKeyData decodedLedgerKeyData = new LedgerKeyData();

                decodedLedgerKeyData.AccountID = AccountID.Decode(stream);
                decodedLedgerKeyData.DataName  = String64.Decode(stream);
                return(decodedLedgerKeyData);
            }
        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);
        }
Example #4
0
        public static ManageDataOp Decode(XdrDataInputStream stream)
        {
            var decodedManageDataOp = new ManageDataOp();

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

            if (DataValuePresent != 0)
            {
                decodedManageDataOp.DataValue = DataValue.Decode(stream);
            }
            return(decodedManageDataOp);
        }
Example #5
0
        public static ManageDataOp Decode(IByteReader stream)
        {
            ManageDataOp decodedManageDataOp = new ManageDataOp();

            decodedManageDataOp.DataName = String64.Decode(stream);
            int dataValuePresent = XdrEncoding.DecodeInt32(stream);

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