| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static byte[] | Returns: a byte array representing the decoded data.decode the base 64 encoded input data. |
| public static byte[] | |
| public static int | Returns: the number of bytes produced.decode the base 64 encoded String data writing it to the given output stream, whitespace characters will be ignored. |
| public static int | decode(byte[]
The source data. base64Data, int Start position. start, int the length. length, OutputStream The output stream to write to. out)Decode to an output stream; |
| public static byte[] | Returns: a byte array containing the base 64 encoded data.encode the input data producing a base 64 encoded byte array. |
| public static byte[] | Returns: a byte array containing the base 64 encoded data.encode the input data producing a base 64 encoded byte array. |
| public static int | Returns: the number of bytes produced.Encode the byte data to base 64 writing it to the given output stream. |
| public static int | Returns: the number of bytes produced.Encode the byte data to base 64 writing it to the given output stream. |
| public static String | |
| public static String |
| encoder | back to summary |
|---|---|
| private static final Encoder encoder | |
| Base64 | back to summary |
|---|---|
| public Base64() | |
| decode | back to summary |
|---|---|
| public static byte[] decode(byte[] data) decode the base 64 encoded input data. It is assumed the input data is valid.
| |
| decode | back to summary |
|---|---|
| public static byte[] decode(String data) decode the base 64 encoded String data - whitespace will be ignored.
| |
| decode | back to summary |
|---|---|
| public static int decode(String data, OutputStream out) throws IOException decode the base 64 encoded String data writing it to the given output stream, whitespace characters will be ignored.
| |
| decode | back to summary |
|---|---|
| public static int decode(byte[] base64Data, int start, int length, OutputStream out) Decode to an output stream;
| |
| encode | back to summary |
|---|---|
| public static byte[] encode(byte[] data) encode the input data producing a base 64 encoded byte array.
| |
| encode | back to summary |
|---|---|
| public static byte[] encode(byte[] data, int off, int length) encode the input data producing a base 64 encoded byte array.
| |
| encode | back to summary |
|---|---|
| public static int encode(byte[] data, OutputStream out) throws IOException Encode the byte data to base 64 writing it to the given output stream.
| |
| encode | back to summary |
|---|---|
| public static int encode(byte[] data, int off, int length, OutputStream out) throws IOException Encode the byte data to base 64 writing it to the given output stream.
| |
| toBase64String | back to summary |
|---|---|
| public static String toBase64String(byte[] data) | |
| toBase64String | back to summary |
|---|---|
| public static String toBase64String(byte[] data, int off, int length) | |