|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.fusesource.hawtbuf.HexSupport
public final class HexSupport
Used to convert to hex from byte arrays and back.
| Method Summary | |
|---|---|
static Buffer |
toBufferFromHex(java.lang.String hex)
|
static java.lang.String |
toHexFromBuffer(Buffer buffer)
|
static java.lang.String |
toHexFromInt(int value,
boolean trim)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static Buffer toBufferFromHex(java.lang.String hex)
hex -
public static java.lang.String toHexFromBuffer(Buffer buffer)
public static java.lang.String toHexFromInt(int value,
boolean trim)
value - trim - if the leading 0's should be trimmed off.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||