| Modifier and Type | Field and Description |
|---|---|
private static char[] |
BASE64 |
private static byte[] |
INV_BASE64 |
| Constructor and Description |
|---|
Base64() |
| Modifier and Type | Method and Description |
|---|---|
static void |
decode(char[] ch,
int off,
int len,
OutputStream out) |
static void |
encode(byte[] src,
int srcPos,
int srcLen,
char[] dest,
int destPos) |
static byte[] |
fromBase64(String base64String)
Convenience method.
|
static String |
toBase64(byte[] bytes)
Convenience method.
|
private static final char[] BASE64
private static final byte[] INV_BASE64
public Base64()
public static void encode(byte[] src, int srcPos, int srcLen, char[] dest, int destPos)
public static void decode(char[] ch, int off, int len, OutputStream out) throws IOException
IOExceptionpublic static String toBase64(byte[] bytes)
bytes - data to encodepublic static byte[] fromBase64(String base64String) throws IOException
base64String - encoded stringIOExceptionCopyright © 2017 dcm4che.org. All rights reserved.