public final class HexBin
extends java.lang.Object
Constructor and Description |
---|
HexBin() |
Modifier and Type | Method and Description |
---|---|
static byte[] |
decode(byte[] aHexData)
Decode Hex data to binary data
|
static byte[] |
encode(byte[] aBinaryData)
Encode binary data to Hex
|
static int |
getDecodedDataLength(byte[] aHexData)
Get length length of the Hex data
|
static boolean |
isHex(java.lang.String isValidString)
DOCUMENT ME!
|
public static boolean isHex(java.lang.String isValidString)
isValidString
- DOCUMENT ME!public static byte[] encode(byte[] aBinaryData)
aBinaryData
- Binary data to Hex encodepublic static byte[] decode(byte[] aHexData)
aHexData
- Hex data to Hex decodepublic static int getDecodedDataLength(byte[] aHexData)
aHexData
- DOCUMENT ME!-1
otherwise.