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

Function inflate

static/word2md/mammoth.browser.js:17780–17789  ·  view source on GitHub ↗

* inflate(data[, options]) -> Uint8Array|Array|String * - data (Uint8Array|Array|String): input data to decompress. * - options (Object): zlib inflate options. * * Decompress `data` with inflate/ungzip and `options`. Autodetect * format via wrapper header by default. That's why we don't provide

(input, options)

Source from the content-addressed store, hash-verified

17778 * ```
17779 **/
17780function inflate(input, options) {
17781 var inflator = new Inflate(options);
17782
17783 inflator.push(input, true);
17784
17785 // That will never happens, if you don't cheat with options :)
17786 if (inflator.err) { throw inflator.msg; }
17787
17788 return inflator.result;
17789}
17790
17791
17792/**

Callers 1

inflateRawFunction · 0.70

Calls 5

crc32Function · 0.70
zswap32Function · 0.70
fixedtablesFunction · 0.70
adler32Function · 0.70
updatewindowFunction · 0.70

Tested by

no test coverage detected