Name

inflateCopy   - Sets the destination stream as a complete copy of the source stream.

Synopsis

int ZEXPORT inflateCopy(z_streamp dest, z_streamp source);

Detailed Description

Sets the destination stream as a complete copy of the source stream.

This function can be useful when randomly accessing a large stream. The first pass through the stream can periodically record the inflate state, allowing restarting inflate at those points when randomly accessing the stream.


Parameters

z_streamp dest destination stream
z_streamp source source stream of data
 

Return value

int ZEXPORT inflateCopy returns Z_OK if success, Z_MEM_ERROR if there was not enough memory, Z_STREAM_ERROR if the source stream state was inconsistent (such as zalloc being NULL). msg is left unchanged in both source and destination.
 

Feedback

For additional information or queries on this page send feedback

© 2008-2009 Nokia Corporation. All rights reserved. This documentation can be used in the connection with this Product to help and support the user.

Top