...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Compression levels.
Defined in header <boost/beast/zlib/zlib.hpp>
enum compression
Name |
Description |
---|---|
|
|
|
|
|
|
|
The compression levels go from 0 and 9: 1 gives best speed, 9 gives best compression.
Compression level 0 gives no compression at all. The input data is simply copied a block at a time.
A compression level 6 is usually a default compromise between speed and compression.