elfStyle property

String elfStyle

Implementation

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

Implementation

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