Need help, reading integers from a file

I'm working with a .wav file, and, I need to collect the header information. The header contains (roughly, 20 bits/bytes) before the actual data. And, each of this data is contained at different locations in the file. I need to read a particular amount of integers in the text. For example:

Data =
102030405060

For the first header information, I need to gather the first 4 integers.. So:

Data = {
10
20
30
40
}

The code that I have written, reads in the first integers, however, reads them like this:

Data = {
1
0
2
0
}

This is obviously wrong, but, I can't figure out how to read the whole of the integer inside element[0]..[3] - Here is the code: (Data type is char)