#include <Codecs.h>
Static Public Methods | |
| ACE_Byte * | encode (const ACE_Byte *input, const size_t input_len, size_t *output_len) |
| ACE_Byte * | decode (const ACE_Byte *input, size_t *output_len) |
| size_t | length (const ACE_Byte *input) |
Private Methods | |
| ACE_Base64 () | |
| ACE_Base64 (const ACE_Base64 &) | |
Static Private Methods | |
| void | init () |
| Initialize the tables for encoding/decoding. | |
Static Private Attributes | |
| const ACE_Byte | alphabet_ [] |
| Symbols which form the Base64 alphabet (Defined as per RFC 2045). | |
| ACE_Byte | decoder_ [] |
| Alphabet used for decoding i.e decoder_[alphabet_[i = 0..63]] = i. | |
| ACE_Byte | member_ [] |
| const ACE_Byte | pad_ = '=' |
| The padding character used in the encoding. | |
| int | init_ = 0 |
| Boolean to denote whether initialization is complete. | |
| int | max_columns_ = 72 |
| Number of columns per line of encoded output (Can have a max value of 76). | |
Friends | |
| class | ace_dewarn_gplusplus |
This class provides methods to encode or decode a stream of bytes to/from Base64 encoding. It doesn't convert the input stream to a canonical form before encoding.
|
|
|
|
|
|
|
||||||||||||
|
Decodes a stream of Base64 to bytes data
|
|
||||||||||||||||
|
Encodes a stream of bytes to Base64 data
|
|
|
Initialize the tables for encoding/decoding.
|
|
|
Return the length of the encoded input data
|
|
|
|
|
|
Initial value:
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"
|
|
|
Alphabet used for decoding i.e decoder_[alphabet_[i = 0..63]] = i.
|
|
|
Boolean to denote whether initialization is complete.
|
|
|
Number of columns per line of encoded output (Can have a max value of 76).
|
|
|
Alphabet used to check valid range of encoded input i.e member_[alphabet_[0..63]] = 1 |
|
|
The padding character used in the encoding.
|
1.2.18