inflateSync — Advances compression stream to next sync point.
Libz.lib
On success, inflateSync()
shall return Z_OK, and update the
next_in
,, avail_in
,
and, total_in
fields of stream to reflect the
number
of bytes of compressed data that have been skipped.
Otherwise, inflateSync()
shall return a value as described below to indicate the
error.
The inflateSync()
function shall advance
through the
compressed data in stream, skipping
any invalid
compressed data, until the next full flush point is reached, or all
input is exhausted. See the
description for deflate() with flush level
Z_FULL_FLUSH
.
No output is placed in next_out
.
To advance the compression stream to next sync point:
#include <stdio.h> |
On error, inflateSync() shall return a value as described below:
Z_STREAM_ERROR |
The state (as represented in stream)
is inconsistent, or stream was
|
Z_BUF_ERROR |
There is no data available to skip over. |
Z_DATA_ERROR |
No sync point was found. |
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. |