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

Function decodeBase64ToBytes

apps_script/deno_deploy.ts:26–31  ·  view source on GitHub ↗
(input: string)

Source from the content-addressed store, hash-verified

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

Callers 1

deno_deploy.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected