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

Function intArrayToString

js/sql-debug.js:5379–5392  ·  view source on GitHub ↗
(array)

Source from the content-addressed store, hash-verified

5377}
5378
5379function intArrayToString(array) {
5380 var ret = [];
5381 for (var i = 0; i < array.length; i++) {
5382 var chr = array[i];
5383 if (chr > 0xFF) {
5384 if (ASSERTIONS) {
5385 assert(false, 'Character code ' + chr + ' (' + String.fromCharCode(chr) + ') at offset ' + i + ' not in 0x00-0xFF.');
5386 }
5387 chr &= 0xFF;
5388 }
5389 ret.push(String.fromCharCode(chr));
5390 }
5391 return ret.join('');
5392}
5393
5394
5395

Callers 1

sql-debug.jsFile · 0.70

Calls 1

assertFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…