MCPcopy Create free account
hub / github.com/TruthHun/BookStack / deflateSetHeader

Function deflateSetHeader

static/word2md/mammoth.browser.js:19542–19547  ·  view source on GitHub ↗
(strm, head)

Source from the content-addressed store, hash-verified

19540
19541
19542function deflateSetHeader(strm, head) {
19543 if (!strm || !strm.state) { return Z_STREAM_ERROR; }
19544 if (strm.state.wrap !== 2) { return Z_STREAM_ERROR; }
19545 strm.state.gzhead = head;
19546 return Z_OK;
19547}
19548
19549
19550function deflateInit2(strm, level, method, windowBits, memLevel, strategy) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected