/// <summary>
 /// 计算数据
 /// </summary>
 /// <param name="recvObject">数据接受类</param>
 private void ComputeData(RecvObject recvObject)
 {
     if (ByteUtils.CouldRead(recvObject.Buffer, recvObject.ReadPos, recvObject.BufLen - recvObject.ReadPos))
     {
         while (ByteUtils.CouldRead(recvObject.Buffer, recvObject.ReadPos, recvObject.BufLen - recvObject.ReadPos))
         {
             // CLog.Log(recvObject.BufLen + "," + recvObject.ReadPos);
             // 分离数据
             SeparatData(recvObject);
         }
         recvObj.Cut();
     }
 }
        /// <summary>
        /// 计算数据
        /// </summary>
        /// <param name="recvObject">数据接受类</param>
        private void ComputeData(RecvObject recvObject)
        {
            //CLog.Log("包头读取长度:" + ByteUtils.GetDataLength(recvObject.Buffer) + 4);


            if (ByteUtils.CouldRead(recvObject.Buffer, recvObject.ReadPos, recvObject.BufLen - recvObject.ReadPos))
            {
                while (ByteUtils.CouldRead(recvObject.Buffer, recvObject.ReadPos, recvObject.BufLen - recvObject.ReadPos))
                {
                    // 分离数据
                    SeparatData(recvObject);
                }
                recvObj.Cut();
            }
        }