Let's say I build a char array of size 24.
and I want to fill this with 0's and 1's. For example:
Now I want to parse the first four characters and treat them as a binary number. Continuing the example:
Now I want to convert that to the hex equivilant:
1010 would equal A
How would I do this.