Converting a string of text into alternate representations (binary, hex, ascii)

Posted by Terri on Stack Overflow See other posts from Stack Overflow or by Terri
Published on 2010-04-09T01:05:50Z Indexed on 2010/04/09 1:13 UTC
Read the original article Hit count: 335

Filed under:
|

In Java, is there a simple method to convert the format of a given string? For example, I have the string "test22". I'd like the binary value and hex value. As well as possibly the ascii values of each character?

© Stack Overflow or respective owner

Related posts about java

Related posts about conversion