[]
        
(Showing Draft Content)

C1.Util.DX.DXUtil.ReadAndPosition

ReadAndPosition Method

ReadAndPosition<T>(IntPtr, ref T)

Reads the specified T data from a memory location.

Declaration
public static IntPtr ReadAndPosition<T>(IntPtr source, ref T data) where T : struct
Parameters
Type Name Description
IntPtr source

Memory location to read from.

T data

The data write to.

Returns
Type Description
IntPtr

source pointer + sizeof(T).

Type Parameters
Name Description
T

Type of a data to read.