writeToStringBuffer method

void writeToStringBuffer(
  1. StringBuffer buffer
)

Implementation

void writeToStringBuffer(StringBuffer buffer) {
  buffer
    ..write('"')
    ..write(name)
    ..write('" => a ')
    ..write(bind?.description ?? '<binding unrecognized>')
    ..write(' ')
    ..write(type?.description ?? '<type unrecognized>')
    ..write(' ')
    ..write(visibility?.description ?? '<visibility unrecognized>')
    ..write(' symbol that points to ')
    ..write(size)
    ..write(' bytes at location 0x')
    ..write(paddedHex(value, _wordSize))
    ..write(' in section ')
    ..write(sectionIndex);
}