public final class Base64 extends Object
| Constructor and Description |
|---|
Base64() |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
decodeBase64Local(byte[] base64Values)
Convert a array of base64 encoded byte in a array of bytes, returning the bytes
original values.
|
static byte[] |
encodeBase64Local(byte[] dataValues)
Convert a array of bytes in a array of MIME Base64 values.
|
static String |
encodeBase64StringLocal(byte[] dataValues)
Convert a array of bytes in a array of MIME Base64 values.
|
public static byte[] decodeBase64Local(byte[] base64Values)
throws IllegalArgumentException
base64Values - is an array of base64 encoded valuesIllegalArgumentException - if the provided base64 values are null, or do not fits the required lengthpublic static byte[] encodeBase64Local(byte[] dataValues)
throws IllegalArgumentException
dataValues - is an array of bytes with the original valuesIllegalArgumentException - if the provided base64 values are null, or do not fits the required lengthpublic static String encodeBase64StringLocal(byte[] dataValues) throws IllegalArgumentException
dataValues - is an array of bytes with the original valuesIllegalArgumentException - if the provided base64 values are null, or do not fits the required lengthCopyright © 2019. All rights reserved.