#include <Codecs.h>
Static Public Methods | |
ACE_Byte * | encode (const ACE_Byte *input, const size_t input_len, size_t *output_len) |
Encodes a stream of bytes to Base64 data. More... | |
ACE_Byte * | decode (const ACE_Byte *input, size_t *output_len) |
Decodes a stream of Base64 to bytes data. More... | |
size_t | length (const ACE_Byte *input) |
Return the length of the encoded input data. More... | |
Private Methods | |
ACE_UNIMPLEMENTED_FUNC (ACE_Base64()) ACE_UNIMPLEMENTED_FUNC(ACE_Base64(const ACE_Base64 &)) static const ACE_Byte alphabet_[] | |
Symbols which form the Base64 alphabet (Defined as per RFC 2045). More... | |
Static Private Methods | |
void | init () |
Initialize the tables for encoding/decoding. More... | |
Static Private Attributes | |
ACE_Byte | decoder_ [] |
Alphabet used for decoding i.e decoder_[alphabet_[i = 0..63]] = i. More... | |
ACE_Byte | member_ [] |
Alphabet used to check valid range of encoded input i.e member_[alphabet_[0..63]] = 1. More... | |
const ACE_Byte | pad_ = '=' |
The padding character used in the encoding. More... | |
bool | init_ = false |
Boolean to denote whether initialization is complete. More... | |
int | max_columns_ = 72 |
Number of columns per line of encoded output (Can have a max value of 76). More... | |
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.
|
Symbols which form the Base64 alphabet (Defined as per RFC 2045).
|
|
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.
|
|
|
|
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.
|