Click or drag to resize

SafeNativeMemoryT Methods

The SafeNativeMemoryT generic type exposes the following members.

Methods
  NameDescription
Public methodAllocate
Allocates a buffer with the specified size.
(Inherited from SafeNativeMemory.)
Public methodReadInt32
Reads a 32-bit signed integer from unmanaged memory.
(Inherited from SafeNativeMemory.)
Public methodReadIntPtr
Reads a processor native sized integer from unmanaged memory.
(Inherited from SafeNativeMemory.)
Protected methodReleaseHandle
When overridden in a derived class, executes the code required to free the handle.
(Inherited from SafeNativeMemory.)
Public methodToStructure
Marshal the memory from native to .NET.
Top
Extension Methods
See Also