![]() | Safe |
The SafeNativeMemoryT type exposes the following members.
Name | Description | |
---|---|---|
![]() | SafeNativeMemoryT | Initializes a new instance of the SafeNativeMemoryT class. |
![]() | SafeNativeMemoryT(Int32) | Initializes a new instance of the SafeNativeMemoryT class. |
Name | Description | |
---|---|---|
![]() | IsInvalid |
When overridden in a derived class, gets a value indicating whether the handle value is invalid.
(Inherited from SafeNativeMemory) |
![]() | Size |
Gets the size of the allocated buffer.
(Inherited from SafeNativeMemory) |
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 | |
---|---|---|
![]() ![]() | (SafeNativeMemoryT to T) | Performs an implicit conversion from SafeNativeMemory to IntPtr. |
Name | Description | |
---|---|---|
![]() | SafeCastT |
Performs a cast from object to T, avoiding possible null violations if T is a value type.
(Defined by ObjectExtensions) |