Exemple #1
0
        /// <summary>
        /// Resolves the specified data to TRequestInfo.
        /// </summary>
        /// <param name="data">The data.</param>
        /// <param name="offset">The offset.</param>
        /// <param name="length">The length.</param>
        /// <returns></returns>
        protected USVRequestInfo ProcessMatchedRequest(byte[] data, int offset, int length)
        {
            if (length == 0)
            {
                return(m_RequestParser.ParseRequestInfo(string.Empty));
            }

            return(m_RequestParser.ParseRequestInfo(m_Encoding.GetString(data, offset, length)));
        }