NativeMemory Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This class contains methods that are mainly used to manage native memory.
public ref class NativeMemory abstract sealed
public static class NativeMemory
type NativeMemory = class
Public Class NativeMemory
- Inheritance
-
NativeMemory
Aligned |
Allocates an aligned block of memory of the specified size and alignment, in bytes. |
Aligned |
Frees an aligned block of memory. |
Aligned |
Reallocates an aligned block of memory of the specified size and alignment, in bytes. |
Alloc(UInt |
Allocates a block of memory of the specified size, in elements. |
Alloc(UInt |
Allocates a block of memory of the specified size, in bytes. |
Alloc |
Allocates and zeroes a block of memory of the specified size, in elements. |
Alloc |
Allocates and zeroes a block of memory of the specified size, in bytes. |
Clear(Void*, UInt |
Clears a block of memory. |
Copy(Void*, Void*, UInt |
Copies a block of memory from memory location |
Fill(Void*, UInt |
Copies the byte |
Free(Void*) |
Frees a block of memory. |
Realloc(Void*, UInt |
Reallocates a block of memory to be the specified size, in bytes. |
Product | Versions |
---|---|
.NET | 6, 7, 8, 9 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: