sead::PtrUtil class

Public static functions

static auto roundUpPow2(const void* ptr, u32 n) -> void*
static auto roundUpN(const void* ptr, u32 n) -> void*
static auto roundDownPow2(const void* ptr, u32 n) -> void*
static auto roundDownN(const void* ptr, u32 n) -> void*
static auto addOffset(const void* ptr, intptr_t offset) -> void*
static auto diff(const void* ptr1, const void* ptr2) -> intptr_t
static auto isInclude(const void* ptr, const void* begin, const void* end) -> bool
static auto isAligned(const void* ptr, s32 alignment) -> bool
static auto isAlignedPow2(const void* ptr, u32 n) -> bool
static auto isAlignedN(const void* ptr, s32 n) -> bool