Dear Opencard members,
Any help you could offer would be very much appreciated ! Here is my problem, I am
trying to write an applet proxy CardService, and I need a way of converting a
java.lang.String into a byte array of its hex representation.
f.e.:
String = "Paul" therefore the array should be: [50] [61] [75] [6C]
java.lang.String getBytes returns the value in decimal i.e. [80] [97] [117] [108] -
but what I need is the hex representation as above, not the decimal one returned by
getBytes.
Also I need a way to reverse the procedure i.e.
array1..4 [50] [61] [75] [6C] will give me a String "Paul"
Thanks in advance,
Paul Sheridan
_____________________________________
Get your free E-mail at http://www.ireland.com
---
> Visit the OpenCard web site at http://www.opencard.org/ for more
> information on OpenCard---binaries, source code, documents.
> This list is being archived at http://www.opencard.org/archive/opencard/
! To unsubscribe from the [EMAIL PROTECTED] mailing list send an email
! to
! [EMAIL PROTECTED]
! containing the word
! unsubscribe
! in the body.