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

Function isomorphicEncode

deps/undici/undici.js:4305–4308  ·  view source on GitHub ↗
(input)

Source from the content-addressed store, hash-verified

4303 __name(isomorphicDecode, "isomorphicDecode");
4304 var invalidIsomorphicEncodeValueRegex = /[^\x00-\xFF]/;
4305 function isomorphicEncode(input) {
4306 assert(!invalidIsomorphicEncodeValueRegex.test(input));
4307 return input;
4308 }
4309 __name(isomorphicEncode, "isomorphicEncode");
4310 function parseJSONFromBytes(bytes) {
4311 return JSON.parse(utf8DecodeBytes(bytes));

Callers 4

buildContentRangeFunction · 0.70
redirectMethod · 0.70
schemeFetchFunction · 0.70
httpNetworkOrCacheFetchFunction · 0.70

Calls 2

assertFunction · 0.50
testMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…