...one of the most highly
regarded and expertly designed C++ library projects in the
world. — Herb Sutter and Andrei
Insert bits into the compressed output stream.
void prime( int bits, int value, error_code& ec);
This function 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
write call after
must be less than or equal to 16, and that many of the least significant
value will be inserted
in the output.
if there was not enough room in the internal buffer to insert the bits.