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 2018. The current version is 1.90.0.
void clear();
This function resets the stream and frees all dynamically allocated internal buffers. The compression settings are left unchanged.
Any unprocessed input or pending output from previous calls are discarded.