public class Base16 extends Object
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.
|
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.Copyright © 2016. All rights reserved.