public class Base64
extends java.lang.Object
Constructor and Description |
---|
Base64() |
Modifier and Type | Method and Description |
---|---|
static int |
decode(int d) |
static void |
decode(java.io.Reader r,
java.io.OutputStream os) |
static java.lang.String |
decode(java.lang.String value) |
static void |
decodeIgnoreWhitespace(java.io.Reader r,
java.io.OutputStream os)
XXX: decode() vs decodeIgnoreWhitespace(), check RFC
|
static byte[] |
decodeToByteArray(java.lang.String value) |
static java.lang.String |
encode(byte[] buffer) |
static void |
encode(CharBuffer cb,
byte[] buffer) |
static void |
encode(CharBuffer cb,
byte[] buffer,
int offset,
int length) |
static void |
encode(CharBuffer cb,
long data) |
static char |
encode(long d) |
static java.lang.String |
encode(java.lang.String value) |
static void |
encode(java.lang.StringBuilder cb,
byte[] buffer,
int offset,
int length) |
static void |
encode(java.lang.StringBuilder sb,
long data) |
static void |
encode(java.io.Writer w,
java.io.InputStream i) |
static void |
encode24(CharBuffer cb,
int data) |
static java.lang.String |
encodeFromByteArray(byte[] value) |
static java.lang.String |
encodeFromByteArray(byte[] value,
int offset,
int length) |
static void |
oldEncode(CharBuffer cb,
byte[] buffer,
int offset,
int length) |
public static void encode(CharBuffer cb, long data)
public static void encode(java.lang.StringBuilder sb, long data)
public static void encode24(CharBuffer cb, int data)
public static java.lang.String encode(byte[] buffer)
public static void encode(CharBuffer cb, byte[] buffer)
public static void encode(CharBuffer cb, byte[] buffer, int offset, int length)
public static void encode(java.lang.StringBuilder cb, byte[] buffer, int offset, int length)
public static void oldEncode(CharBuffer cb, byte[] buffer, int offset, int length)
public static char encode(long d)
public static int decode(int d)
public static java.lang.String encode(java.lang.String value)
public static java.lang.String encodeFromByteArray(byte[] value)
public static java.lang.String encodeFromByteArray(byte[] value, int offset, int length)
public static void encode(java.io.Writer w, java.io.InputStream i) throws java.io.IOException
java.io.IOException
public static java.lang.String decode(java.lang.String value)
public static byte[] decodeToByteArray(java.lang.String value)
public static void decode(java.io.Reader r, java.io.OutputStream os) throws java.io.IOException
java.io.IOException
public static void decodeIgnoreWhitespace(java.io.Reader r, java.io.OutputStream os) throws java.io.IOException
java.io.IOException