Example #1
0
        /// <summary>
        /// 接收数据
        /// </summary>
        public void HandleReceive(byte[] by, int count)
        {
            if (by == null || by.Length == 0)
            {
                return;
            }

            m_by_buffer.WriteBytes(by, count);
            ParsePacket();
        }