[]
Writes the specified T data to a memory location.
public static IntPtr WriteAndPosition<T>(IntPtr destination, ref T data) where T : struct
Type | Name | Description |
---|---|---|
IntPtr | destination | Memory location to write to. |
T | data | The data to write. |
Type | Description |
---|---|
IntPtr | destination pointer + sizeof(T). |
Name | Description |
---|---|
T | Type of a data to write. |