public final class Base64
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
decodeBase64(java.lang.String string)
Decodes the given Base64 string to bytes.
|
static java.lang.String |
encodeBase64(byte[] bytes)
Encodes the given bytes to a Base64 string.
|
static java.lang.String |
printHexBinary(byte[] bytes)
Print the given bytes as a HEX string.
|
public static java.lang.String encodeBase64(byte[] bytes)
bytes - the bytes to encodepublic static byte[] decodeBase64(java.lang.String string)
string - the Base64 string to decodepublic static java.lang.String printHexBinary(byte[] bytes)
bytes - the bytes to covert to a HEX string