Safe |
The SafeNativeMemoryT type exposes the following members.
Name | Description | |
---|---|---|
Allocate |
Allocates a buffer with the specified size.
(Inherited from SafeNativeMemory) | |
ReadInt32 |
Reads a 32-bit signed integer from unmanaged memory.
(Inherited from SafeNativeMemory) | |
ReadIntPtr |
Reads a processor native sized integer from unmanaged memory.
(Inherited from SafeNativeMemory) | |
ReleaseHandle |
When overridden in a derived class, executes the code required to free the handle.
(Inherited from SafeNativeMemory) | |
ToStructure | Marshal the memory from native to .NET. |
Name | Description | |
---|---|---|
SafeCastT |
Performs a cast from object to T, avoiding possible null violations if T is a value type.
(Defined by ObjectExtensions) |