MCPcopy Index your code
hub / github.com/utterance/utterances / decodeBase64UTF8

Function decodeBase64UTF8

src/encoding.ts:3–6  ·  view source on GitHub ↗
(encoded: string)

Source from the content-addressed store, hash-verified

1declare function escape(str: string): string;
2
3export function decodeBase64UTF8(encoded: string) {
4 encoded = encoded.replace(/\s/g, '');
5 return decodeURIComponent(escape(atob(encoded)));
6}

Callers 1

loadJsonFileFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected