MCPcopy Index your code
hub / github.com/nodejs/node / roundTripBytes

Function roundTripBytes

test/parallel/test-stream-iter-transform-sync.js:31–33  ·  view source on GitHub ↗
(inputBuf, compress, decompress)

Source from the content-addressed store, hash-verified

29}
30
31function roundTripBytes(inputBuf, compress, decompress) {
32 return bytesSync(pullSync(pullSync(fromSync(inputBuf), compress), decompress));
33}
34
35// =============================================================================
36// Gzip sync round-trip tests

Callers 1

testGzipBinaryDataFunction · 0.70

Calls 3

bytesSyncFunction · 0.85
pullSyncFunction · 0.85
fromSyncFunction · 0.50

Tested by

no test coverage detected