[]
        
(Showing Draft Content)

C1.Util.DX.DXUtil.WriteAndPosition

WriteAndPosition Method

WriteAndPosition<T>(IntPtr, ref T)

Writes the specified T data to a memory location.

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

Memory location to write to.

T data

The data to write.

Returns
Type Description
IntPtr

destination pointer + sizeof(T).

Type Parameters
Name Description
T

Type of a data to write.