MCPcopy Create free account
hub / github.com/Code-Bullet/Jump-King / writeUTFBytes

Function writeUTFBytes

libraries/p5.sound.js:8827–8832  ·  view source on GitHub ↗
(view, offset, string)

Source from the content-addressed store, hash-verified

8825 return result;
8826 }
8827 function writeUTFBytes(view, offset, string) {
8828 var lng = string.length;
8829 for (var i = 0; i < lng; i++) {
8830 view.setUint8(offset + i, string.charCodeAt(i));
8831 }
8832 }
8833 }(sndcore, master);
8834 var peakdetect;
8835 peakdetect = function () {

Callers 1

p5.sound.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected