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

Function encodeBytesToBase64

apps_script/deno_deploy.ts:33–37  ·  view source on GitHub ↗
(bytes: Uint8Array)

Source from the content-addressed store, hash-verified

31}
32
33function encodeBytesToBase64(bytes: Uint8Array): string {
34 let bin = "";
35 for (let i = 0; i < bytes.length; i++) bin += String.fromCharCode(bytes[i]);
36 return btoa(bin);
37}
38
39function sanitizeHeaders(h: unknown): Record<string, string> {
40 const out: Record<string, string> = {};

Callers 1

deno_deploy.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected