missing var to be used in angular (typescript)
CarlosGRodriguezL opened this issue · comments
Could you pls add the var in front of the n-variable, so I can use the library in my angular project.
function getStringFromDB(buffer, start, length) {
var outstr = "";
for (var n = start; n < start+length; n++) {
outstr += String.fromCharCode(buffer.getUint8(n));
}
return outstr;
}