int ZEXPORT deflatePrime(z_streamp strm, int bits, int value);deflatePrime() inserts bits in
the deflate output stream. The intent is that this function is
used to start off the deflate output with the bits leftover from
a previous deflate stream when appending to it. As such, this
function can only be used for raw deflate, and must be used
before the first
deflate() call after a
deflateInit2() or
deflateReset(). bits must be
less than or equal to 16, and that many of the least significant
bits of value will be inserted in the output.
|
stream of data |
int bits |
bits must be less than or equal to 16, and that many of the least significant bits of value will be inserted in the output. |
int value |
represents value of the bits to be inserted |
int ZEXPORT |
deflatePrime returns Z_OK if success, or Z_STREAM_ERROR if the source stream state was inconsistent |
|
© 2008-2009 Nokia Corporation. All rights reserved. This documentation can be used in the connection with this Product to help and support the user. |