MCPcopy Create free account
hub / github.com/PageLeay/celestial-runtime / encodeBase64

Function encodeBase64

lib.esm/utils/base64.js:50–52  ·  view source on GitHub ↗
(data)

Source from the content-addressed store, hash-verified

48 * //_result:
49 */
50export function encodeBase64(data) {
51 return Buffer.from(getBytes(data)).toString("base64");
52}
53//# sourceMappingURL=base64.js.map

Callers 4

headersMethod · 0.90
test-utils-misc.tsFile · 0.90
headersMethod · 0.90
test-utils-misc.jsFile · 0.90

Calls 3

getBytesFunction · 0.90
toStringMethod · 0.45
fromMethod · 0.45

Tested by

no test coverage detected