MCPcopy Create free account
hub / github.com/F-Stack/f-stack / deflatePending

Function deflatePending

freebsd/contrib/zlib/deflate.c:531–542  ·  view source on GitHub ↗

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

(strm, pending, bits)

Source from the content-addressed store, hash-verified

529
530/* ========================================================================= */
531int ZEXPORT deflatePending (strm, pending, bits)
532 unsigned *pending;
533 int *bits;
534 z_streamp strm;
535{
536 if (deflateStateCheck(strm)) return Z_STREAM_ERROR;
537 if (pending != Z_NULL)
538 *pending = strm->state->pending;
539 if (bits != Z_NULL)
540 *bits = strm->state->bi_valid;
541 return Z_OK;
542}
543
544/* ========================================================================= */
545int ZEXPORT deflatePrime (strm, bits, value)

Callers 1

zstd_zlibwrapper.cFile · 0.85

Calls 1

deflateStateCheckFunction · 0.85

Tested by

no test coverage detected