#include <Codecs.h>
Static Public Member Functions | |
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) |
Protected Member Functions | |
ACE_Base64 (void) | |
Private Member Functions | |
ACE_Base64 (ACE_Base64 const &) | |
ACE_Base64 & | operator= (ACE_Base64 const &) |
Static Private Member Functions | |
void | init (void) |
Initialize the tables for encoding/decoding. | |
Static Private Attributes | |
ACE_Byte | decoder_ [] |
Alphabet used for decoding i.e decoder_[alphabet_[i = 0..63]] = i. | |
ACE_Byte | member_ [] |
bool | init_ = false |
Boolean to denote whether initialization is complete. |
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
|
|
|
|
Alphabet used for decoding i.e decoder_[alphabet_[i = 0..63]] = i.
|
|
Boolean to denote whether initialization is complete.
|
|
Alphabet used to check valid range of encoded input i.e member_[alphabet_[0..63]] = 1 |