class · System.Runtime.InteropServices
NativeMemory
public class System.Runtime.InteropServices.NativeMemory : System.Any
Native memory blocks (not seen by the collector).
- Tipo
- class
- Espacio de nombres
- System.Runtime.InteropServices
- Ensamblado
- System.Core
- Acceso
- public, static, abstract
- Archivo fuente
Interop.ant
Herencia
- Clases base
-
AnyNativeMemory
Métodos
bytes of native memory, zeroed (Free gives it back).
count elements of size bytes, zeroed.
static method Free(block: void*) -> void
#
Copies bytes bytes from source to destination (the blocks do not overlap).
Sets bytes bytes at block to value.
Miembros heredados (5)
GetTypemétodo de AnyUndescribedmétodo de AnyToStringmétodo de AnyHashmétodo de Anydestroymétodo de Any
Código fuente
NativeMemory en Larva HIR, descompilado a partir de su Larva HIR.
// Native memory blocks (not seen by the collector).
public class System.Runtime.InteropServices.NativeMemory : System.Any
{
// `bytes` of native memory, zeroed (Free gives it back).
static method Alloc(bytes: u64) -> void*
// `count` elements of `size` bytes, zeroed.
static method AllocZeroed(count: u64, size: u64) -> void*
static method Free(block: void*) -> void
// Copies `bytes` bytes from `source` to `destination` (the blocks do not overlap).
static method Copy(source: void*, destination: void*, bytes: u64) -> void
// Sets `bytes` bytes at `block` to `value`.
static method Fill(block: void*, bytes: u64, value: u8) -> void
static method Clear(block: void*, bytes: u64) -> void
}