MCPcopy Index your code
hub / github.com/di-sukharev/opencommit / bytesToBase64

Function bytesToBase64

out/cli.cjs:33027–33029  ·  view source on GitHub ↗
(u8arr)

Source from the content-addressed store, hash-verified

33025 exports2.stringFromBase64 = stringFromBase64;
33026 var z6 = __importStar(require_lib4());
33027 function bytesToBase64(u8arr) {
33028 return btoa(String.fromCodePoint(...u8arr));
33029 }
33030 function bytesFromBase64(encoded) {
33031 return Uint8Array.from(atob(encoded), (c4) => c4.charCodeAt(0));
33032 }

Callers 1

stringToBase64Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…