Esempio n. 1
0
        private void WriteCommand(CtpCommand value)
        {
            EnsureCapacityBytes(5);
            int length = value.LengthWithSchema;

            WriteArrayLength(CtpObjectSymbols.CtpCommand8Bit, length);
            EnsureCapacityBytes(length);
            value.CopyTo(m_buffer, m_length);
            m_length += length;
        }
 private CtpObject(CtpCommand value)
     : this()
 {
     ValueTypeCode = CtpTypeCode.CtpCommand;
     m_valueObject = value;
 }