Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

A BzipOutput is an output filter that compresses data using the bzip2 algorithm.

The constructor accepts the output stream to which compressed data is written and optionally the block size, which influences memory usage during both compression and decompression and compression ratio. The default is 900 KiB, which is also the largest value.

Make sure you link in libbzip2 when building programs using BzipOutputStream.