MCPcopy Create free account
hub / github.com/MJx0/KittyMemoryEx / get_CurrBytes

Method get_CurrBytes

KittyMemoryEx/MemoryBackup.cpp:60–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58}
59
60std::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
71std::string MemoryBackup::get_OrigBytes() const
72{

Callers

nothing calls this directly

Calls 2

toHexFunction · 0.85
ReadMethod · 0.80

Tested by

no test coverage detected