MCPcopy Create free account
hub / github.com/Cicada000/VV / _base64ToArrayBuffer

Function _base64ToArrayBuffer

Web/script.js:267–273  ·  view source on GitHub ↗
(base64)

Source from the content-addressed store, hash-verified

265 },
266
267 _base64ToArrayBuffer(base64) {
268 const binaryString = atob(base64);
269 const len = binaryString.length;
270 const bytes = new Uint8Array(len);
271 for (let i = 0; i < len; i++) bytes[i] = binaryString.charCodeAt(i);
272 return bytes.buffer;
273 },
274
275 _cleanupLocalStorage() {
276 try {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected