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

Function write

benchmark/fs/bench-filehandle-pull-vs-webstream.js:93–96  ·  view source on GitHub ↗
(chunk, encoding, callback)

Source from the content-addressed store, hash-verified

91 let totalBytes = 0;
92 const sink = new Writable({
93 write(chunk, encoding, callback) {
94 totalBytes += chunk.length;
95 callback();
96 },
97 });
98
99 pipeline(rs, upper, gz, sink, (err) => {

Callers

nothing calls this directly

Calls 1

callbackFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…