Function CE::Memory::Pointers::offset_address(void *, const std::size_t)
Defined in File pointers.h
Function Documentation
-
inline std::uintptr_t CE::Memory::Pointers::offset_address(void *ptr, const std::size_t offset_bytes)
Converts a pointer to an integer address and adds an unchecked byte offset.
- Parameters:
ptr – Borrowed starting pointer; no dereference or ownership transfer.
offset_bytes – Byte displacement, not a count of pointed-to objects.
- Returns:
Numeric address. Caller ensures representability and valid backing range.