szInfo property

String szInfo

Implementation

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

Implementation

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