public final class Hex extends Object
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
decode(String s)
Decode a hexadecimal string to a byte array.
|
static String |
toHexString(byte[] b)
Encode a byte array to a hexadecimal string.
|
public static byte[] decode(String s)
s - hexadecimal stringpublic static String toHexString(byte[] b)
b - byte arrayCopyright © 2020 Eclipse JGit Project. All rights reserved.