| |
|
| java.lang.Object org.eclipse.ui.internal.preferences.Base64
Base64 | class Base64 (Code) | | Base64 is a helper class for converting byte arrays to and
from base 64 encoded Strings.
|
Field Summary | |
static char | digits |
Method Summary | |
public static byte[] | decode(byte[] data) This method decodes the byte array in base 64 encoding into a char array
Base 64 encoding has to be according to the specification given by the
RFC 1521 (5.2). | static int | decodeDigit(byte data) This method converts a Base 64 digit to its numeric value. | public static byte[] | encode(byte[] data) This method encodes the byte array into a char array in base 64 according
to the specification given by the RFC 1521 (5.2). |
digits | static char digits(Code) | | |
decode | public static byte[] decode(byte[] data)(Code) | | This method decodes the byte array in base 64 encoding into a char array
Base 64 encoding has to be according to the specification given by the
RFC 1521 (5.2).
Parameters: data - the encoded byte array the decoded byte array |
decodeDigit | static int decodeDigit(byte data)(Code) | | This method converts a Base 64 digit to its numeric value.
Parameters: data - digit (character) to convert value for the digit |
encode | public static byte[] encode(byte[] data)(Code) | | This method encodes the byte array into a char array in base 64 according
to the specification given by the RFC 1521 (5.2).
Parameters: data - the encoded char array the byte array that needs to be encoded |
|
|
|