MCPcopy
hub / github.com/remotely-save/remotely-save / arrayBufferToBase64

Function arrayBufferToBase64

src/misc.ts:105–107  ·  view source on GitHub ↗
(b: ArrayBuffer)

Source from the content-addressed store, hash-verified

103};
104
105export const arrayBufferToBase64 = (b: ArrayBuffer) => {
106 return arrayBufferToBuffer(b).toString("base64");
107};
108
109export const arrayBufferToHex = (b: ArrayBuffer) => {
110 return arrayBufferToBuffer(b).toString("hex");

Callers 1

getSha1Function · 0.85

Calls 2

arrayBufferToBufferFunction · 0.85
toStringMethod · 0.80

Tested by

no test coverage detected