| Modifier and Type | Field and Description |
|---|---|
| private static final char[] |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public static char | |
| public static byte | |
| private static char[] | |
| public static String | |
| public static int | Returns: the value ofptr+((len+2)/3)*4, which is the new offset
in the output buffer where the further bytes should be placed.Encodes a byte array into a char array by doing base64 encoding. |
| encodeMap | back to summary |
|---|---|
| private static final char[] encodeMap | |
| Base64Encoder | back to summary |
|---|---|
| pack-priv Base64Encoder() | |
| encode | back to summary |
|---|---|
| public static char encode(int i) | |
| encodeByte | back to summary |
|---|---|
| public static byte encodeByte(int i) | |
| initEncodeMap | back to summary |
|---|---|
| private static char[] initEncodeMap() | |
| back to summary | |
|---|---|
| public static String print(byte[] input, int offset, int len) | |
| back to summary | |
|---|---|
| public static int print(byte[] input, int offset, int len, char[] buf, int ptr) Encodes a byte array into a char array by doing base64 encoding. The caller must supply a big enough buffer.
| |