org.apache.activemq.util
public final class HexSupport extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static byte[] |
toBytesFromHex(java.lang.String hex) |
static java.lang.String |
toHexFromBytes(byte[] bytes) |
static java.lang.String |
toHexFromInt(int value,
boolean trim) |
public static byte[] toBytesFromHex(java.lang.String hex)
hex
- public static java.lang.String toHexFromBytes(byte[] bytes)
bytes
- public static java.lang.String toHexFromInt(int value, boolean trim)
value
- trim
- if the leading 0's should be trimmed off.Copyright © 2005-2014. All Rights Reserved.