Show / Hide Table of Contents

Namespace DotNext.Runtime.InteropServices

Classes

MemoryMarshalExtensions

Provides low-level extensions to work with the memory.

NativeMemoryExtensions

Provides extensions for NativeMemory type.

NullPointerException

The exception that is thrown when there is an attempt to dereference zero pointer.

OpaqueReferenceType

Provides extensions for OpaqueValue<T> when its underlying type is of reference type.

OpaqueValueType

Provides extensions for OpaqueValue<T> when its underlying type is of value type.

SequenceMarshalExtensions

Extends SequenceMarshal type.

Structs

OpaqueValue<T>

Represents an opaque value that can be passed to unmanaged code as nint.

Pointer<T>

CLS-compliant typed pointer for .NET languages without direct support of pointer data type.

Pointer<T>.Enumerator

Represents enumerator over raw memory.

UnmanagedMemory<T>

Represents a handle to the value of type T allocated in the unmanaged memory.

Interfaces

IUnmanagedMemory

Represents common interface for the wrapper of the unmanaged memory.

IUnmanagedMemory<T>

Represents unmanaged memory owner.

☀
☾
In this article
Back to top
Supported by the .NET Foundation
☀
☾