CLAPACK-3.2.1/SRC/a.out.js
// Write a Javascript array to somewhere in the heap
Write a Javascript array to somewhere in the heap
Write a Javascript array to somewhere in the heap
function writeStringToMemory(string, buffer, dontAddNull) {
  var array = intArrayFromString(string, dontAddNull);
  var i = 0;
  while (i < array.length) {
    var chr = array[i];
    HEAP8[(((buffer)+(i))|0)]=chr
    i = i + 1;
  }
}
function writeStringToMemory ( string , buffer , dontAddNull ) { var array = intArrayFromString ( string , dontAddNull ) ; var i = 0 ; while ( i < array . length ) { var chr = array [ i ] ; HEAP8 [ ( ( ( buffer ) + ( i ) ) | 0 ) ] = chr i = i + 1 ; } }
Write a Javascript array to somewhere in the heap
Write a Javascript array to somewhere in the heap