Skip to content

Base64Coder

#include <tpau-cpp-kernal/Base64Coder.h>

INCLUDE FILE
#include <tpau-cpp-kernal/Base64Coder.h>

class Base64StreamDecoder

Decode Base64-encoded data and write the decoded data to a stream.

DEFINITION
class Base64StreamDecoder;

constructor Base64StreamDecoder

DEFINITION
Base64StreamDecoder ( std::ostream & stream,
size_t  line_length = 0,
size_t  indent = 0 );
PARAMETERDESCRIPTION
stream
line_length
indent

class Base64StreamEncoder

Encode data in Base64 and write it to a stream.

DEFINITION
class Base64StreamEncoder;

constructor Base64StreamEncoder

DEFINITION
Base64StreamEncoder ( std::ostream & stream,
size_t  line_length = 0,
size_t  indent = 0 );
PARAMETERDESCRIPTION
stream
line_length
indent

method end

DEFINITION
void  end ( );

class Base64StringDecoder

Decode Base64-encoded data and collect the decoded data in a string.

DEFINITION
class Base64StringDecoder;

constructor Base64StringDecoder

DEFINITION
Base64StringDecoder ( );

method end

DEFINITION
std::string  end ( );
RETURNSDESCRIPTION
std::string

member engine

DEFINITION
Base64DecoderEngine  engine;

member output

DEFINITION
StringCoderOutput  output;

class Base64StringEncoder

Encode data in Base64 and collect the encoded data in a string.

DEFINITION
class Base64StringEncoder;

constructor Base64StringEncoder

DEFINITION
Base64StringEncoder ( );

method end

Finish the encoding process and return the encoded data.

DEFINITION
std::string  end ( );
RETURNSDESCRIPTION
std::string

The encoded data.