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

Function stringPercentDecode

lib/internal/data_url.js:182–188  ·  view source on GitHub ↗

* @param {string} input * @returns {Uint8Array}

(input)

Source from the content-addressed store, hash-verified

180 * @returns {Uint8Array}
181 */
182function stringPercentDecode(input) {
183 // 1. Let bytes be the UTF-8 encoding of input.
184 const bytes = lazyEncoder().encode(input);
185
186 // 2. Return the percent-decoding of bytes.
187 return percentDecode(bytes);
188}
189
190/**
191 * @param {number} byte

Callers 1

dataURLProcessorFunction · 0.70

Calls 3

lazyEncoderFunction · 0.85
encodeMethod · 0.80
percentDecodeFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…