MCPcopy Create free account
hub / github.com/Infiland/cursor-opencode-auth / toBase64

Function toBase64

packages/opencode-plugin-cursor/src/lib/base64.ts:3–5  ·  view source on GitHub ↗
(data: Uint8Array)

Source from the content-addressed store, hash-verified

1import { Buffer } from "node:buffer";
2
3export function toBase64(data: Uint8Array): string {
4 return Buffer.from(data).toString("base64");
5}

Callers 1

executeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected