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