inflateReset — Resets all state associated with stream..
Libz.lib
#include <zlib.h>
int inflateReset(z_streamp stream);
The inflateReset() function shall reset
all state
associated with stream.
All pending output shall be discarded, and the counts of processed
bytes (total_in
and total_out
) shall be reset to zero.
To reset all the states associated with stream:
#include <stdio.h> |
On error, inflateReset() shall return Z_STREAM_ERROR. The following conditions shall be treated as an error:
The state in stream is inconsistent or inappropriate.
stream
is NULL
.
For additional information or queries on this page send feedback
© 2008 Nokia Corporation. All rights reserved. This documentation can be used in the connection with this Product to help and support the user. |