|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.jcetaglib.tools.Hex
This class implements a hex decoder, decoding a string with hex-characters into the binary form.
| Constructor Summary | |
Hex()
|
|
| Method Summary | |
static byte[] |
decode(java.lang.String dataStr)
Decodar hex till binärt |
static java.lang.String |
encode(byte[] dataStr)
Encodar binärt till hex |
static void |
main(java.lang.String[] args)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Hex()
| Method Detail |
public static java.lang.String encode(byte[] dataStr)
dataStr - bin-representation av data
public static byte[] decode(java.lang.String dataStr)
dataStr - Sträng innehållande hex-representation av data
public static void main(java.lang.String[] args)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||