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

Method get_CurrBytes

KittyMemoryEx/MemoryPatch.cpp:81–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79}
80
81std::string MemoryPatch::get_CurrBytes() const
82{
83 if (!isValid())
84 return "";
85
86 std::vector<uint8_t> buffer(_size);
87 _pMem->Read(_address, &buffer[0], _size);
88
89 return KittyUtils::Data::toHex(&buffer[0], _size);
90}
91
92std::string MemoryPatch::get_OrigBytes() const
93{

Callers 2

mainFunction · 0.45
mainFunction · 0.45

Calls 2

toHexFunction · 0.85
ReadMethod · 0.80

Tested by

no test coverage detected