The HexToString function returning maximum of 16kb even for sources greater than 16KBstring HexStringToString(string HexString)        {            string stringValue = ;            for (int i = 2; i < HexString.Length / 2; i++) // Starting from position too just to avoid the 0x Hex Code that messes stuff up            {                try                {                    string hexChar = HexString.Substring(i * 2, 2);                    int hexValue = Convert.ToInt32(hexChar, 16);                    stringValue += Char.ConvertFromUtf32(hexValue);                }                catch (Exception ExCon)                {                    //continue; //Forcing application to ignore anomaly in the file being processed                    MessageBox.Show(ExCon.ToString());                }            }            return stringValue;        }
HexToString function returning maximum of 16kb
c#