MCPcopy Create free account
hub / github.com/nodejs/node / decompressBrotli

Function decompressBrotli

lib/internal/streams/iter/transform.js:725–731  ·  view source on GitHub ↗
(options = kNullPrototype)

Source from the content-addressed store, hash-verified

723}
724
725function decompressBrotli(options = kNullPrototype) {
726 validateObject(options, 'options');
727 return makeZlibTransform(
728 (cb, onErr) => createBrotliHandle(BROTLI_DECODE, options, cb, onErr),
729 BROTLI_OPERATION_PROCESS, BROTLI_OPERATION_FINISH,
730 );
731}
732
733function decompressZstd(options = kNullPrototype) {
734 validateObject(options, 'options');

Callers 8

testBrotliWithParamsFunction · 0.85
testCorruptBrotliDataFunction · 0.85
testBrotliRoundTripFunction · 0.85
testBrotliLargeDataFunction · 0.85
testEmptyInputBrotliFunction · 0.85

Calls 2

makeZlibTransformFunction · 0.85
createBrotliHandleFunction · 0.85

Tested by

no test coverage detected