23 return reinterpret_cast<T*
>(
static_cast<uint8_t*
>(base) + offset);
28T ReadAt(
void* base, std::ptrdiff_t offset)
noexcept
35void WriteAt(
void* base, std::ptrdiff_t offset,
const T& value)
noexcept
T * MemberPtr(void *base, std::ptrdiff_t offset) noexcept
static std::string ReadFile(const std::filesystem::path &path)
void WriteAt(void *base, std::ptrdiff_t offset, const T &value) noexcept
T ReadAt(void *base, std::ptrdiff_t offset) noexcept