readString method

String readString()

Implementation

String readString() {
  if (type != TYPE_ASCII) {
    throw ImageException('readString requires ASCII entity');
  }
  // TODO: ASCII fields can contain multiple strings, separated with a NULL.
  return String.fromCharCodes(readValues());
}