示例#1
0
        /// <summary>
        /// 反序列化
        /// 将Byte[]反序列化为类或结构
        /// </summary>
        /// <typeparam name="T">泛型</typeparam>
        /// <returns></returns>
        public T DeSerializes <T>(byte[] buff)
        {
            T result = NSocket.DeSerializes <T>(buff);

            ClientAIMgr.Instance.ShowReciveMsgLog(result);
            return(result);
        }