blob: f3e26f20b2527f40c0c1c2acee43f43da44bd1f5 (plain
This is a horrid C++ interface to zlib. It is written this way to avoid having to buffer any data, and so be unnecessarily inefficient. But this does end up just being a wrapper to the zlib interface.
See test/compress for an example of how to use it. But it should be very familiar.
For an easier interface, use CompressStream.