Get array of object at specific offset of memory.
| 286 | |
| 287 | /// Get array of object at specific offset of memory. |
| 288 | std::string_view getStringView(const uint64_t Offset, |
| 289 | const uint64_t Size) const noexcept { |
| 290 | if (unlikely(!checkAccessBound(Offset, Size))) { |
| 291 | return {}; |
| 292 | } |
| 293 | return {reinterpret_cast<const char *>(&DataPtr[Offset]), Size}; |
| 294 | } |
| 295 | |
| 296 | /// Template for loading bytes and converting them to a value. |
| 297 | /// |