org.jmol.util
public class Base64 extends Object
Modifier and Type | Field and Description |
---|---|
private static String |
base64 |
private static int[] |
decode64 |
Constructor and Description |
---|
Base64() |
Modifier and Type | Method and Description |
---|---|
static byte[] |
decodeBase64(String strBase64) |
static StringBuffer |
getBase64(byte[] bytes) |
static StringBuffer |
getBase64(StringBuffer str) |
static byte[] |
getBytes64(byte[] bytes) |
private static byte[] |
toBytes(StringBuffer sb) |
static void |
write(byte[] bytes,
OutputStream os) |
private static String base64
private static int[] decode64
public static void write(byte[] bytes, OutputStream os) throws IOException
IOException
public static byte[] getBytes64(byte[] bytes)
public static StringBuffer getBase64(StringBuffer str)
public static StringBuffer getBase64(byte[] bytes)
public static byte[] decodeBase64(String strBase64)
private static byte[] toBytes(StringBuffer sb)