public class Base64
extends java.lang.Object
| Constructor and Description |
|---|
Base64() |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
base64Decode(java.lang.String string)
Decodes the supplied base 64 encoded string into its original byte array, using the standard base 64 decoding algorithm.
|
static java.lang.String |
base64Encode(byte[] bytes)
Base64 encodes the supplied bytes array, using the standard base 64 encoding algorithm.
|
public static java.lang.String base64Encode(byte[] bytes)
bytes - The byte array to encodepublic static byte[] base64Decode(java.lang.String string)
string - The base 64 encoded string to decode