Class MemChunk
- Namespace
- GLib
- Assembly
- GLib-2.0.dll
public sealed class MemChunk
- Inheritance
-
MemChunk
- Inherited Members
Constructors
MemChunk(MemChunkOwnedHandle)
public MemChunk(MemChunkOwnedHandle handle)
Parameters
handle
MemChunkOwnedHandle
Properties
Handle
public MemChunkOwnedHandle Handle { get; }
Property Value
Methods
Alloc()
public IntPtr Alloc()
Returns
Alloc0()
public IntPtr Alloc0()
Returns
Clean()
public void Clean()
Destroy()
public void Destroy()
Equals(MemChunk?)
public bool Equals(MemChunk? other)
Parameters
other
MemChunk
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
obj
objectThe object to compare with the current object.
Returns
Free(IntPtr)
public void Free(IntPtr mem)
Parameters
mem
IntPtr
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
Info()
public static void Info()
New(string, int, nuint, int)
public static MemChunk New(string name, int atomSize, nuint areaSize, int type)
Parameters
Returns
Print()
public void Print()
Reset()
public void Reset()