public class Base16
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private static byte[] |
decode |
private static char[] |
lower |
private static char[] |
upper |
| Constructor and Description |
|---|
Base16() |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
decode(char[] src)
Decode base16 chars to bytes.
|
static char[] |
encode(byte[] src,
boolean upper)
Encode bytes to base16 chars.
|
private static final char[] upper
private static final char[] lower
private static final byte[] decode
public static char[] encode(byte[] src,
boolean upper)
src - Bytes to encode.upper - Use upper or lowercase chars.public static byte[] decode(char[] src)
src - Chars to decode.