public class Base16
extends java.lang.Object
Constructor and Description |
---|
Base16() |
Modifier and Type | Method and Description |
---|---|
static byte[] |
decode(java.lang.String str)
Converts a Hex String to a byte array
|
static java.lang.String |
encode(byte[] byteArray) |
static boolean |
isCoded(byte[] byteArray)
True if array looks to be hex coded
|
static boolean |
isCoded(java.lang.String str)
True if string looks to be hex coded
|
public static java.lang.String encode(byte[] byteArray)
public static byte[] decode(java.lang.String str)
str
- hex string to convertpublic static boolean isCoded(byte[] byteArray)
byteArray
- array to testpublic static boolean isCoded(java.lang.String str)
str
- string to test