MCPcopy Index your code
hub / github.com/masterking32/MasterHttpRelayVPN / decodeBase64ToBytes

Function decodeBase64ToBytes

apps_script/cloudflare_worker.js:27–32  ·  view source on GitHub ↗
(input)

Source from the content-addressed store, hash-verified

25]);
26
27function decodeBase64ToBytes(input) {
28 const bin = atob(input);
29 const out = new Uint8Array(bin.length);
30 for (let i = 0; i < bin.length; i++) out[i] = bin.charCodeAt(i);
31 return out;
32}
33
34function encodeBytesToBase64(bytes) {
35 let bin = "";

Callers 1

fetchFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected