Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
testBuf
Function · 0.85
forEach
Method · 0.45
Tested by
no test coverage detected