Webmaster  |  Imprint 
C++ Server Pages
Main  |  License  |  Documentation  |  Download 

Base64ostream Class Reference

#include <cxxtools/base64stream.h>

List of all members.

Public Member Functions

 Base64ostream (std::ostream &out)
 Base64ostream (std::streambuf *sb)
 instantiate encode with a output-stdstreambuf.
void end ()
 pad and flush stream.


Detailed Description

Base64ostream is a base64-encoder.

To base64-encode, instantiate a Base64ostream with an outputstream. Write the data to encode into the stream. Base64ostream writes the base64-encoded data to the outputstream. When ready call end() to pad and flush. The stream is also padded and flushed in the destructor, when there are characters left.


Constructor & Destructor Documentation

Base64ostream ( std::ostream &  out  ) 

instantiate encode with a output-stream, which received encoded Data.

Copyright © 2008 The Tntnet Development Team
Tntnet 1.6