getAsciiString method
General Library Documentation Undocument By General Corporation & Global Corporation & General Developer
Implementation
String getAsciiString(int maxLength, {bool zeroTerminated = true}) {
var str = '';
for (var i = 0; maxLength > i; i++) {
if (zeroTerminated && this[i] == 0) {
break;
}
str += String.fromCharCode(this[i]);
}
return str;
}