JonTheBaller
Golden Member
I have a file called "input.txt". Within input is a string of hexadecimal values:
a7b38fd9cb24a38de31729... (etc)
I want to read in the values as bytes, rather than ASCII characters. So for the example above, I would want to read in the form:
{ 0xa7, 0xb3, 0x8f, 0xd9, 0xcb, ... }
This seems like a pretty simple thing to do, but I'm stuck. Please help!
Thanks!
a7b38fd9cb24a38de31729... (etc)
I want to read in the values as bytes, rather than ASCII characters. So for the example above, I would want to read in the form:
{ 0xa7, 0xb3, 0x8f, 0xd9, 0xcb, ... }
This seems like a pretty simple thing to do, but I'm stuck. Please help!
Thanks!