| 512 | |
| 513 | |
| 514 | DataBuffer Database::ReadGlobalData(const std::string& key) const |
| 515 | { |
| 516 | BNDataBuffer* value = BNReadDatabaseGlobalData(m_object, key.c_str()); |
| 517 | if (value == nullptr) |
| 518 | { |
| 519 | throw DatabaseException("BNReadDatabaseGlobalData"); |
| 520 | } |
| 521 | return DataBuffer(value); |
| 522 | } |
| 523 | |
| 524 | |
| 525 | void Database::WriteGlobalData(const std::string& key, const DataBuffer& val) |
nothing calls this directly
no test coverage detected