summaryrefslogtreecommitdiff
path: root/docs/common/lib_compress.txt
blob: f3e26f20b2527f40c0c1c2acee43f43da44bd1f5 (plain)
1
2
3
4
5
6
7
8
TITLE lib/compress

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.