Class UnmanagedMemory
Inheritance
System.Object
UnmanagedMemory
Assembly: GCore.dll
Syntax
public class UnmanagedMemory : IDisposable
Constructors
|
Improve this Doc
View Source
UnmanagedMemory()
Declaration
protected UnmanagedMemory()
|
Improve this Doc
View Source
UnmanagedMemory(IntPtr)
Declaration
public UnmanagedMemory(IntPtr ptr)
Parameters
Type |
Name |
Description |
IntPtr |
ptr |
|
|
Improve this Doc
View Source
UnmanagedMemory(Int32)
Declaration
public UnmanagedMemory(int size)
Parameters
Type |
Name |
Description |
System.Int32 |
size |
|
|
Improve this Doc
View Source
UnmanagedMemory(Type, Int32)
Declaration
public UnmanagedMemory(Type dataType, int count = 1)
Parameters
Type |
Name |
Description |
Type |
dataType |
|
System.Int32 |
count |
|
Properties
|
Improve this Doc
View Source
Ptr
Declaration
public IntPtr Ptr { get; protected set; }
Property Value
|
Improve this Doc
View Source
Size
Declaration
public int Size { get; protected set; }
Property Value
Type |
Description |
System.Int32 |
|
Methods
|
Improve this Doc
View Source
Alloc(Int32)
Declaration
protected void Alloc(int size)
Parameters
Type |
Name |
Description |
System.Int32 |
size |
|
|
Improve this Doc
View Source
Dispose()
Declaration
|
Improve this Doc
View Source
Finalize()
Declaration
protected void Finalize()
|
Improve this Doc
View Source
New<T>(Int32)
Declaration
public static UnmanagedMemory New<T>(int count = 1)
where T : struct
Parameters
Type |
Name |
Description |
System.Int32 |
count |
|
Returns
Type Parameters
Extension Methods