| Home | Libraries | People | FAQ | More

###### zlib::deflate_stream::reset (2 of 2 overloads)

Reset the stream without deallocating memory.

<h7> Synopsis </h7>

    void
    reset();

<h7> Description </h7>

This function performs the equivalent of calling `clear` followed by `reset` with the same compression settings, without deallocating the internal buffers.

<h7> Remarks </h7>

Any unprocessed input or pending output from previous calls are discarded.