Reads the specified T data from a memory location.
'Declaration
Public Overloads Shared Function Read(Of As {New, Struct})( _
ByVal As System.IntPtr _
) As
public static Read<>(
System.IntPtr
)
where T: new(), struct
Parameters
- source
- Memory location to read from.
Type Parameters
- T
- Type of a data to read.
Return Value
The data read from the memory location.