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

Function decompressBrotliSync

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

Source from the content-addressed store, hash-verified

795}
796
797function decompressBrotliSync(options = kNullPrototype) {
798 validateObject(options, 'options');
799 return makeZlibTransformSync(
800 (cb, onErr) => createBrotliHandle(BROTLI_DECODE, options, cb, onErr),
801 BROTLI_OPERATION_PROCESS, BROTLI_OPERATION_FINISH,
802 );
803}
804
805function decompressZstdSync(options = kNullPrototype) {
806 validateObject(options, 'options');

Callers 3

testBrotliRoundTripFunction · 0.85
testBrotliLargeDataFunction · 0.85
testBrotliWithOptionsFunction · 0.85

Calls 2

makeZlibTransformSyncFunction · 0.85
createBrotliHandleFunction · 0.85

Tested by

no test coverage detected