MCPcopy Create free account
hub / github.com/antimatter15/ocrad.js / writeArrayToMemory

Function writeArrayToMemory

ocrad.js:1306–1310  ·  view source on GitHub ↗
(array, buffer)

Source from the content-addressed store, hash-verified

1304Module["writeStringToMemory"] = writeStringToMemory;
1305
1306function writeArrayToMemory(array, buffer) {
1307 for (var i = 0; i < array.length; i++) {
1308 HEAP8[((buffer++)>>0)]=array[i];
1309 }
1310}
1311Module["writeArrayToMemory"] = writeArrayToMemory;
1312
1313function writeAsciiToMemory(str, buffer, dontAddNull) {

Callers 1

createOcradInstanceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected