jigdo API

zstream.hh File Reference

Zlib/bzlib2 compression layer which integrates with C++ streams. More...

#include <config.h>
#include <iostream>
#include <bstream.hh>
#include <debug.hh>
#include <md5sum.fh>
#include <zstream.fh>

Go to the source code of this file.


Classes

struct  Zerror
 Error messages returned by the zlib library. More...
class  Zobstream
 Output stream which compresses the data sent to it before writing it to its final destination. More...
struct  Zobstream::ZipData
class  Zibstream
 Input stream which decompresses data. More...
class  Zibstream::Impl
 Interface for gzip and bzip2 implementors. More...

Detailed Description

Zlib/bzlib2 compression layer which integrates with C++ streams.

When deflating, chops up data into DATA chunks of approximately zippedBufSz (see ctor below and ../doc/TechDetails.txt).

Maybe this should use streambuf, but 1) I don't really understand streambuf, and 2) the C++ library that comes with GCC 2.95 probably doesn't fully support it (not sure tho).


Generated on Tue Sep 23 14:27:42 2008 for jigdo by  doxygen 1.5.6