Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

bz2ostream Class Reference

An output stream compressing all data with the bz2 algorithm. More...

Inherits ostream.

List of all members.

Public Methods

 bz2ostream (std::streambuf *dest, unsigned int block_size_100K=9, unsigned int verbosity=0, unsigned int work_factor=0, bzalloc_ptr bzalloc=NULL, bzfree_ptr bzfree=NULL, void *opaque=NULL, size_t buffer_size=1024, size_t out_buffer_size=1024)
 Creates a new bz2ostream object. See bz2outbuf::bz2outbuf for an explanation of the parameters.


Detailed Description

An output stream compressing all data with the bz2 algorithm.

As the actual compression is achieved in the underlying bz2outbuf stream buffer, you should read its documentation before using this class.

A bz2ostream object writes the output data to a stream buffer you specify in the constructor; it can thus be used to write to any stream buffer you want.


Generated on Sat Jul 6 15:18:45 2002 for bz2stream by doxygen1.2.16