10-30-2013 07:01 PM
Hi All, I need to convert data into HexASCII string Data -> Convert all to Hex -> Convert every half byte of Hex to ASCII (end result).
So for example:
Data is the sequence of mixed Hex and ASCII character: 0x1234 “AA” 0x5678 ”BB”
Convert all to Hex = 0x1234414256784344
Hex to ASCII = 0x31323334343134323536373834333434
HexASCII String = ”1234414256784344”
Is there an example available out there which already does this ?
Thanks.
10-30-2013 09:03 PM
That's a pretty confusing hybrid of conversions you're trying to do there.
How do "AA" and "BB" become 4142 4344?
All I can say is search the forums. Various different ways of doing conversions have been asked for and demonstrated hundreds if not thousands of times in the forums.