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

Function roundTrip

test/parallel/test-stream-iter-transform-sync.js:27–29  ·  view source on GitHub ↗
(input, compress, decompress)

Source from the content-addressed store, hash-verified

25// =============================================================================
26
27function roundTrip(input, compress, decompress) {
28 return textSync(pullSync(pullSync(fromSync(input), compress), decompress));
29}
30
31function roundTripBytes(inputBuf, compress, decompress) {
32 return bytesSync(pullSync(pullSync(fromSync(inputBuf), compress), decompress));

Callers 10

testGzipRoundTripFunction · 0.70
testGzipLargeDataFunction · 0.70
testDeflateRoundTripFunction · 0.70
testDeflateLargeDataFunction · 0.70
testBrotliRoundTripFunction · 0.70
testBrotliLargeDataFunction · 0.70
testZstdRoundTripFunction · 0.70
testZstdLargeDataFunction · 0.70
testGzipWithOptionsFunction · 0.70
testBrotliWithOptionsFunction · 0.70

Calls 3

textSyncFunction · 0.85
pullSyncFunction · 0.85
fromSyncFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…