|
These methods translate from the binary data to the encodedData string
|
static void | encode (int dataSize, const char data[], int &encodedDataSize, char encodedData[]) |
| Encode from one array into another. More...
|
|
static void | encode (int dataSize, const char data[], UtlString &encodedData) |
| Encode from an array into a UtlString. More...
|
|
static void | encode (const UtlString &data, UtlString &encodedData) |
| Encode from one UtlString into another. More...
|
|
static int | encodedSize (int dataSize) |
|
|
The decoding methods translate from the encoded parameter to the binary data All return false if the encoded data value contained any characters that are not legal in the base64 alphabet.
|
static bool | isValid (int encodedDataSize, const char encodedData[]) |
|
static bool | isValid (const UtlString &encodedData) |
|
static bool | decode (int encodedDataSize, const char encodedData[], int &dataSize, char data[]) |
| Decode from the character encodedData to the binary data array. More...
|
|
static bool | decode (const UtlString &encodedData, UtlString &data) |
| Decode from one UtlString into another. More...
|
|
static int | decodedSize (int encodedDataSize, const char encodedData[]) |
| Compute the number of output binary octets for given set of encoded octets. More...
|
|
static int | decodedSize (const UtlString &encodedData) |
| Compute the number of output binary octets for given set of encoded octets. More...
|
|
Provides methods for translating to and from base64 encoding.
Base 64 is a convenient encoding used to translate arbitrary binary data into a fixed 64 character subset of ascii (plus one additional character used to indicate padding). This implementation* uses the alphabet specified in Table 1 of RFC 3548 (which is the standard MIME alphabet).