MCPcopy Create free account
hub / github.com/cloudflare/computer / fromBase64

Function fromBase64

packages/computer/src/exec-wire.ts:47–52  ·  view source on GitHub ↗
(text: string)

Source from the content-addressed store, hash-verified

45}
46
47function fromBase64(text: string): Uint8Array {
48 const binary = atob(text);
49 const out = new Uint8Array(binary.length);
50 for (let i = 0; i < binary.length; i++) out[i] = binary.charCodeAt(i);
51 return out;
52}
53
54function frameOf(event: WorkspaceExecEvent<ExecEncoding>): ExecFrame {
55 if (event.name === "exit") {

Callers 1

eventOfFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected