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

Method encode

lib/internal/encoding.js:360–362  ·  view source on GitHub ↗
(input = '')

Source from the content-addressed store, hash-verified

358 }
359
360 encode(input = '') {
361 return this.#encode(input);
362 }
363
364 encodeInto(src, dest) {
365 validateString(src, 'src');

Callers 15

measureSubtleFunction · 0.95
mainFunction · 0.95
mainFunction · 0.95
mainFunction · 0.95
mainFunction · 0.95
testFunction · 0.95
testFunction · 0.95
sourceFunction · 0.95
slowSourceFunction · 0.95
slowSourceFunction · 0.95
testWritevFunction · 0.95
testWritevSyncFunction · 0.95

Calls 1

#encodeMethod · 0.95

Tested by 10

testFunction · 0.76
testFunction · 0.76
testFunction · 0.76
testFunction · 0.76
outputFunction · 0.64
checkMethod · 0.64
test_three_fuzzersMethod · 0.64
_get_cmd_envMethod · 0.64
create_wrapperFunction · 0.64
mainFunction · 0.64