#include <Pt/ZStream.h>
Output stream for zlib compression.
Inherits BasicOStream< char >.
Public Member Functions | |
| ZOStream () | |
| Construct with target stream. | |
| ZOStream (std::ostream &os) | |
| Construct with target stream. | |
| ~ZOStream () | |
| Destructor. | |
| void | attach (std::ostream &os) |
| Attach to target stream. | |
| BasicStreamBuffer< char > * | buffer () |
| Returns the buffer. | |
| void | detach () |
| Detach from target stream. | |
| void | finish () |
| Finish and flush remaining data to the target stream. | |
| void | reset () |
| Reset to begin new compression/decompression. | |
| void | reset (std::ostream &os) |
| Reset to begin new compression/decompression. | |
| void | setBuffer (BasicStreamBuffer< char > *sb) |
| Sets the buffer. | |
| std::streamsize | writesome (char *buffer, std::streamsize n) |
| Write as much data as fits in buffer. | |
| ZBuffer & | zBuffer () |
| Returns the compression buffer. | |