public final class Base64Common
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
COMPLEMENT
Complement for ending
|
| Constructor and Description |
|---|
Base64Common() |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
fromBase64(java.lang.String base64)
Transform a base 64 representation to a byte array.
|
static int |
getIndex(int symbol)
Index of a symbol
|
static int |
getSymbol(int index)
Obtain a symbol
|
static java.lang.String |
toBase64(byte[] array)
Convert a byte array to its base64 representation.
|
public static final int COMPLEMENT
public static byte[] fromBase64(java.lang.String base64)
toBase64(byte[]) to revert the operationbase64 - Base 64 representationpublic static int getIndex(int symbol)
symbol - Symbol searchpublic static int getSymbol(int index)
index - Symbol indexpublic static java.lang.String toBase64(byte[] array)
fromBase64(String) to revert the operationarray - Array to convert