...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Reset the stream without deallocating memory.
void reset();
This function performs the equivalent of calling clear
followed by reset
with
the same compression settings, without deallocating the internal buffers.
Any unprocessed input or pending output from previous calls are discarded.