nw::ut::AddOffsetToPtr Function

Syntax

template <typename T>
void * AddOffsetToPtr(
     void* ptr,
     T offset
);

Arguments

Name Description
in ptr Pointer
in offset Offset value

Return Values

Returns the address to a void pointer type offset by offset bytes as the same type of pointer as used for the argument.

Description

Adds the offset value to the pointer.


CONFIDENTIAL