Hi,
I looked all over and since I'm probably not using the right termonlogy I couldn't find anything in Google. Here's what I'm trying to do (in ANSI C).
I have a text that represents a series of bytes that looks like this:
"08 FF AB 0B 12 76 CD"
I want to convert each of these "bytes" into REAL binary bytes (is that the right term???). i.e.:
0x08,0xFF,0xAB,0x0B,0x12,0x76,0xCD
I DO NOT want to merely print them that way, but actually STORE them as real binary bytes. So say I read in that first "byte" into a variable:
char * oneByte="08";
Now what? How does this ASCII represntation of "08" become 0x08 (i.e. 0000 1000)?
Thanks
Ami