Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
1
import
{ Buffer } from
"node:buffer"
;
2
3
export
function
toBase64(data: Uint8Array): string {
4
return
Buffer.from(data).toString(
"base64"
);
5
}
Callers
1
execute
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected