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

Function writeChunks

lib/internal/streams/iter/classic.js:538–546  ·  view source on GitHub ↗
(chunks)

Source from the content-addressed store, hash-verified

536 }
537
538 function writeChunks(chunks) {
539 let ok = true;
540 for (let i = 0; i < chunks.length; i++) {
541 const bytes = toUint8Array(chunks[i]);
542 totalBytes += TypedArrayPrototypeGetByteLength(bytes);
543 ok = writable.write(bytes);
544 }
545 return ok;
546 }
547
548 const writer = {
549 __proto__: null,

Callers 1

writevFunction · 0.70

Calls 2

toUint8ArrayFunction · 0.85
writeMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…