strProfileName property
String
strProfileName
Implementation
String get strProfileName {
final charCodes = <int>[];
for (var i = 0; i < 256; i++) {
if (_strProfileName[i] == 0x00) break;
charCodes.add(_strProfileName[i]);
}
return String.fromCharCodes(charCodes);
}
Implementation
set strProfileName(String value) {
final stringToStore = value.padRight(256, '\x00');
for (var i = 0; i < 256; i++) {
_strProfileName[i] = stringToStore.codeUnitAt(i);
}
}