|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.iwombat.util.HexStringUtil
public final class HexStringUtil
Class HexStringUtil Description: Utility class for byte-array/string conversions
| Method Summary | |
|---|---|
static byte[] |
bytesFromHexString(java.lang.String hexString)
Method bytesFromHexString Description: create a byte-array from a hexidecimal string accepts tokenized (0x leading) and non-tokenized hex strings |
static java.lang.String |
stringFromBytes(byte[] byteArray)
Method stringFromBytes Description: create a hexidecimal string from a byte-array |
static java.lang.String |
stringFromBytesWithToken(byte[] byteArray)
Method stringFromBytesWithToken Description: create a hexidecimal string from a byte-array preappend with 0x token |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static byte[] bytesFromHexString(java.lang.String hexString)
hexString -
java.lang.IllegalArgumentExceptionpublic static java.lang.String stringFromBytes(byte[] byteArray)
byteArray -
public static java.lang.String stringFromBytesWithToken(byte[] byteArray)
byteArray -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||