Add ReadBytes function

This commit is contained in:
2025-09-07 22:44:46 +02:00
parent eea0769127
commit a3dd9d8b4a
2 changed files with 15 additions and 0 deletions

View File

@@ -20,6 +20,15 @@ class Memory
*/
static const char* Float32ToHexBytes(float value);
/**
* Read x bytes in memory.
*
* @param address : The address to read.
* @param size : The size in bytes to read
* @std::vector<std::uint8_t> : The bytes read.
*/
static std::vector<std::uint8_t> ReadBytes(const void* addr, std::size_t size);
/**
* Patch x bytes in memory.
*