Exemplo n.º 1
0
            public static LedgerKeyData Decode(XdrDataInputStream stream)
            {
                var decodedLedgerKeyData = new LedgerKeyData();

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

                decodedLedgerKeyData.AccountID = AccountID.Decode(stream);
                decodedLedgerKeyData.DataName  = String64.Decode(stream);
                return(decodedLedgerKeyData);
            }
Exemplo n.º 3
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);
        }
Exemplo n.º 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);
        }
Exemplo n.º 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);
        }