MCPcopy Index your code
hub / github.com/sql-js/sql.js / writeAsciiToMemory

Function writeAsciiToMemory

js/sql-debug.js:1325–1331  ·  view source on GitHub ↗
(str, buffer, dontAddNull)

Source from the content-addressed store, hash-verified

1323
1324
1325function writeAsciiToMemory(str, buffer, dontAddNull) {
1326 for (var i = 0; i < str.length; ++i) {
1327 HEAP8[((buffer++)>>0)]=str.charCodeAt(i);
1328 }
1329 // Null-terminate the pointer to the HEAP.
1330 if (!dontAddNull) HEAP8[((buffer)>>0)]=0;
1331}
1332
1333
1334function unSign(value, bits, ignore) {

Callers 2

stringToAsciiFunction · 0.70
___buildEnvironmentFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…