You seem to be trying to convert each byte to an integer, assuming that each byte contains a value between '0' and '9' inclusive.
If so, then this will do it:
int[] intArray = new int[textData.Length];
for (int i = 0; i < textData.Length; i++)
{
byte b = textData[i];
if (b >= (byte)'0' && b <= (byte)'9')
{
intArray[i] = (int)(b - '0');
}
}