MCPcopy Create free account
hub / github.com/BlaNKtext/webosu / arrayBufferToBase64

Function arrayBufferToBase64

js/settings.js:204–212  ·  view source on GitHub ↗
(buffer)

Source from the content-addressed store, hash-verified

202 }
203
204 function arrayBufferToBase64(buffer) {
205 var binary = "";
206 var bytes = new Uint8Array(buffer);
207 var len = bytes.byteLength;
208 for (var i = 0; i < len; i++) {
209 binary += String.fromCharCode(bytes[i]);
210 }
211 return window.btoa(binary);
212 }
213
214 function bindkeyselector(id, keynameitem, keycodeitem) {
215 let btn = document.getElementById(id);

Callers 1

soundCheckFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected