#include <zstream.h>
Inheritance diagram for regina::CompressionBuffer:
Public Member Functions | |
CompressionBuffer () | |
Creates a new compression stream buffer. | |
CompressionBuffer (const char *path) | |
Creates a new compression stream buffer that writes to the given file. | |
int | open (const char *path) |
Opens the given file for compressed writing. |
The standard zlib compression library is used.
This buffer is designed for use with standard C++ I/O streams.
This stream buffer should not be used for input.
|
Creates a new compression stream buffer.
|
|
Creates a new compression stream buffer that writes to the given file. The underlying file will be opened automatically.
|
|
Opens the given file for compressed writing. If a file is already open, it will be closed before the new file is opened.
|