Four 1byte char to One 4byte int? : <p>I have an char array of 1000 bytes. I want to convert it into int array such that four elements of char array (each of one byte) is equal to one element of int array (each of four bytes).</p>

<pre><code>e.g.:
char_array[0] = '0'
char_array[1] = '9'
char_array[2] = '2'
char_array[3] = '8'

it should be converted to
int_array[0] = 928 or 0928.
</code></pre>

<p>How should I do that?</p>
