[]
        
(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
Public Shared Function WriteAndPosition(Of T As Structure)(destination As IntPtr, ByRef data As T) As IntPtr
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.