I am trying to convert a comma separated values text file to binary.
What I have is a text file containing 256 numbers like so:
6,6,6,7,7,8,8,9,9,10,10, etc
What I need is a binary file containing 256 bytes, so when I open it in a hex viewer it reads:
06 06 06 07 07 08 08 09 09 0A 0A etc
I have tried staring at this problem, but it doesn't help at all. I just can't think whether I am trying to convert integers into hex, or strings into hex. Please get me going. Also a nudge as to how to do the same in the reverse direction.
Many thanks,
Wibs