...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Clear the stream.
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.