public class SimpleBase64Encoder
extends java.lang.Object
Constructor and Description |
---|
SimpleBase64Encoder() |
Modifier and Type | Method and Description |
---|---|
static byte[] |
decode(java.lang.String string) |
static java.lang.String |
encode(byte[] bytes)
Encodes an array of byte into a string of printable ASCII characters
using a base-64 encoding.
|
public static java.lang.String encode(byte[] bytes)
bytes
- The array of bytes to e encodedpublic static byte[] decode(java.lang.String string)