In This Topic
Reads the specified T data from a memory location.
Syntax
'Declaration
Public Shared Sub ReadOut(Of As {New, Struct})( _
ByVal As IntPtr, _
ByRef As _
)
public static void ReadOut<>(
IntPtr ,
out
)
where T: new(), struct
Parameters
- source
- Memory location to read from.
- data
- The data write to.
Type Parameters
- T
- Type of a data to read.
Return Value
source pointer + sizeof(T).
See Also