Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PageLeay/celestial-runtime
/ encodeBase64
Function
encodeBase64
src.ts/utils/base64.ts:54–56 ·
view source on GitHub ↗
(data: BytesLike)
Source
from the content-addressed store, hash-verified
52
*
//_result:
53
*/
54
export
function
encodeBase64(data: BytesLike): string {
55
return
Buffer.from(getBytes(data)).toString(
"base64"
);
56
}
Callers
nothing calls this directly
Calls
3
getBytes
Function · 0.90
toString
Method · 0.45
from
Method · 0.45
Tested by
no test coverage detected