simPersistentDataRead

Reads a block of persistent data

C++ synopsis

char* simPersistentDataRead(const char* dataTag, int* dataLength)

Arguments

  • dataTag: name of the data block
  • dataLength: size of the returned data block, since it may contain any data (also embedded zeros).

Return

  • nullptr if operation was not successful or data block does not exist, otherwise the data block (which may contain any value, including embedded zeros). In that case the returned buffer should be released with simReleaseBuffer


See also: