|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--net.larsan.urd.util.HexUtils
Static methods for HEX / byte conversions.
| Method Summary | |
static byte[] |
parseString(java.lang.String hex)
Parse a hex string into a byte array. |
static java.lang.String |
toString(byte[] bytes)
Convert a byte array to a hex string. |
static java.lang.String |
toString(byte[] bytes,
int off,
int len)
Convert parts of a byte array to a hex string. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static java.lang.String toString(byte[] bytes,
int off,
int len)
bytes - Byte array to convert fromoff - Byte array offestlen - Number of bytes to convert
public static java.lang.String toString(byte[] bytes)
bytes - Byte array to convert
public static byte[] parseString(java.lang.String hex)
hex - Hex string to parse
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||