'Declaration Public Shared Function WriteAndPosition(Of T As {New, Struct})( _ ByVal destination As System.IntPtr, _ ByRef data As T _ ) As System.IntPtr
public static System.IntPtr WriteAndPosition<T>( System.IntPtr destination, ref T data ) where T: new(), struct
Parameters
- destination
- Memory location to write to.
- data
- The data to write.
Type Parameters
- T
- Type of a data to write.
Return Value
destination pointer + sizeof(T).