public class Convert extends Object
| Constructor and Description |
|---|
Convert() |
| Modifier and Type | Method and Description |
|---|---|
static String |
fromBytes(byte[] bytes)
Converts a byte array to a hexadecimal string.
|
static byte[] |
fromHex(String hex)
Converts a hexadecimal string to a byte array.
|
public static byte[] fromHex(String hex)
hex - a string of hexadecimal digitshex as a byte arraypublic static String fromBytes(byte[] bytes)
bytes - a byte arraybytes as a hexadecimal stringCopyright © 2021. All rights reserved.