Exemplo n.º 1
0
        public void Clear(SoftFX.Lrp.LPtr handle)
        {
            using (MemoryBuffer buffer = m_client.Create())
            {
                buffer.WriteLocalPointer(handle);

                int _status = m_client.Invoke(1, 3, buffer);
                TypesSerializer.Throw(_status, buffer);
            }
        }
Exemplo n.º 2
0
        public SoftFX.Lrp.LPtr Constructor(string text)
        {
            using (MemoryBuffer buffer = m_client.Create())
            {
                buffer.WriteAString(text);

                int _status = m_client.Invoke(1, 0, buffer);
                TypesSerializer.Throw(_status, buffer);

                var _result = buffer.ReadLocalPointer();
                return(_result);
            }
        }
Exemplo n.º 3
0
        public SoftFX.Extended.Financial.Serialization.CalculatorData Deserialize(string text)
        {
            using (MemoryBuffer buffer = m_client.Create())
            {
                buffer.WriteAString(text);

                int _status = m_client.Invoke(0, 1, buffer);
                TypesSerializer.Throw(_status, buffer);

                var _result = buffer.ReadCalculatorData();
                return(_result);
            }
        }
Exemplo n.º 4
0
        public string Format(SoftFX.Lrp.LPtr handle)
        {
            using (MemoryBuffer buffer = m_client.Create())
            {
                buffer.WriteLocalPointer(handle);

                int _status = m_client.Invoke(1, 4, buffer);
                TypesSerializer.Throw(_status, buffer);

                var _result = buffer.ReadAString();
                return(_result);
            }
        }
Exemplo n.º 5
0
        public string Serialize(SoftFX.Extended.Financial.Serialization.CalculatorData calc)
        {
            using (MemoryBuffer buffer = m_client.Create())
            {
                buffer.WriteCalculatorData(calc);

                int _status = m_client.Invoke(0, 0, buffer);
                TypesSerializer.Throw(_status, buffer);

                var _result = buffer.ReadAString();
                return(_result);
            }
        }