| 58 | } |
| 59 | |
| 60 | std::string MemoryBackup::get_CurrBytes() const |
| 61 | { |
| 62 | if (!isValid()) |
| 63 | return ""; |
| 64 | |
| 65 | std::vector<uint8_t> buffer(_size); |
| 66 | _pMem->Read(_address, &buffer[0], _size); |
| 67 | |
| 68 | return KittyUtils::Data::toHex(&buffer[0], _size); |
| 69 | } |
| 70 | |
| 71 | std::string MemoryBackup::get_OrigBytes() const |
| 72 | { |