MCPcopy 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 */
54export function encodeBase64(data: BytesLike): string {
55 return Buffer.from(getBytes(data)).toString("base64");
56}

Callers

nothing calls this directly

Calls 3

getBytesFunction · 0.90
toStringMethod · 0.45
fromMethod · 0.45

Tested by

no test coverage detected