ProfileName property

String ProfileName

Implementation

String get ProfileName {
  final charCodes = <int>[];
  for (var i = 0; i < 256; i++) {
    if (_ProfileName[i] == 0x00) break;
    charCodes.add(_ProfileName[i]);
  }
  return String.fromCharCodes(charCodes);
}
void ProfileName=(String value)

Implementation

set ProfileName(String value) {
  final stringToStore = value.padRight(256, '\x00');
  for (var i = 0; i < 256; i++) {
    _ProfileName[i] = stringToStore.codeUnitAt(i);
  }
}