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

Function rawSource

test/parallel/test-stream-iter-consumers-bytes.js:141–144  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

139
140 // Source yields raw Uint8Array, not wrapped in an array
141 async function* rawSource() {
142 yield encoder.encode('hello');
143 yield encoder.encode(' world');
144 }
145 const result = await text(rawSource());
146 assert.strictEqual(result, 'hello world');
147

Callers 1

Calls 1

encodeMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…