public class HexUtils
extends java.lang.Object
Constructor and Description |
---|
HexUtils() |
Modifier and Type | Method and Description |
---|---|
static byte[] |
decodeHexString(java.lang.String hexString)
Method to decode a hexadecimal encoded string.
|
static java.lang.String |
encodeHexString(byte[] data)
Help method to encode the data into a hexadecimal String
|
public static java.lang.String encodeHexString(byte[] data)
data
- the data to hex encodepublic static byte[] decodeHexString(java.lang.String hexString)
hexString
- the hexadecimal string to decode