It’s Ok. “\t” means the tab character, which is ascii code 9. So
your conversion is probably working correctly.
Sent: Friday, August 13, 2010 5:08 AM
Subject: [Jython-users] convert hex byte string into byte array
Hello, I would like to convert a hex byte string into a byte
array ; Here is an example : hex byte string :
"0109053901101232FFFFFF020A89813009999990000" and I would like to
have as a result : "\x01\x09\x05\x39\x01\x10\x12\x32\xFF\xFF\xFF\x02\x0A\x89\x81\x30\x09\x99\x99\x90\x00\"
I found some functions but I have problem with some bytes like "09"
which is converted into "\t" Thanks in advance for help Greg
View this message in context: convert
hex byte string into byte array
Sent from the jython-users
mailing list archive at Nabble.com.