strInterfaceDescription property

String strInterfaceDescription

Implementation

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

Implementation

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