MCPcopy Create free account
hub / github.com/MariaDB/server / deflateUsed

Function deflateUsed

zlib/deflate.c:737–742  ·  view source on GitHub ↗

========================================================================= */

Source from the content-addressed store, hash-verified

735
736/* ========================================================================= */
737int ZEXPORT deflateUsed(z_streamp strm, int *bits) {
738 if (deflateStateCheck(strm)) return Z_STREAM_ERROR;
739 if (bits != Z_NULL)
740 *bits = strm->state->bi_used;
741 return Z_OK;
742}
743
744/* ========================================================================= */
745int ZEXPORT deflatePrime(z_streamp strm, int bits, int value) {

Callers

nothing calls this directly

Calls 1

deflateStateCheckFunction · 0.85

Tested by

no test coverage detected