MCPcopy Create free account
hub / github.com/cloudflare/workerd / testEncoding

Function testEncoding

src/workerd/api/node/tests/string-decoder-test.js:381–385  ·  view source on GitHub ↗
(encoding)

Source from the content-addressed store, hash-verified

379 );
380
381 function testEncoding(encoding) {
382 bufs.forEach((buf) => {
383 testBuf(encoding, buf);
384 });
385 }
386
387 function testBuf(encoding, buf) {
388 // Write one byte at a time.

Callers

nothing calls this directly

Calls 2

testBufFunction · 0.85
forEachMethod · 0.45

Tested by

no test coverage detected