public class Base64
extends java.lang.Object
| Constructor and Description |
|---|
Base64() |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
decodeBuffer(java.lang.String str)
Deciphers the passed encoded string.
|
static java.lang.String |
encode(byte[] bytes)
Encodes by byte array.
|
public static java.lang.String encode(byte[] bytes)
bytes - a Byte array to be encoded @return String Encoded Character
stringpublic static byte[] decodeBuffer(java.lang.String str)
throws java.io.IOException
str - Character string to be deciphered @return byte[] Byte array
containing the deciphered bytes @exception Exception If failed during the
decipherment.java.io.IOException