public class Base64
extends java.lang.Object
Constructor and Description |
---|
Base64() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
encode(byte[] data)
Returns base64 representation of specified byte array.
|
static java.lang.String |
encode(byte[] data,
int off,
int len)
Returns base64 representation of specified byte array.
|
public static java.lang.String encode(byte[] data)
data
- The data to be encodedpublic static java.lang.String encode(byte[] data, int off, int len)
data
- The data to be encodedoff
- The offset within the data at which to start encodinglen
- The length of the data to encode