Boost
C++ Libraries
...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
This is an older version of Boost and was released in 2020. The current version is 1.91.0.
Reset the stream and compression settings.
void reset( int level, int windowBits, int memLevel, Strategy strategy);
This function initializes the stream to the specified compression settings. Although the stream is ready to be used immediately after a reset, any required internal buffers are not dynamically allocated until needed.
Any unprocessed input or pending output from previous calls are discarded.