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

Function inflateGetHeader

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

Source from the content-addressed store, hash-verified

21936}
21937
21938function inflateGetHeader(strm, head) {
21939 var state;
21940
21941 /* check state */
21942 if (!strm || !strm.state) { return Z_STREAM_ERROR; }
21943 state = strm.state;
21944 if ((state.wrap & 2) === 0) { return Z_STREAM_ERROR; }
21945
21946 /* save header structure */
21947 state.head = head;
21948 head.done = false;
21949 return Z_OK;
21950}
21951
21952function inflateSetDictionary(strm, dictionary) {
21953 var dictLength = dictionary.length;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected