Show / Hide Table of Contents

Interface IUnmanagedArray<T>

Provides access to the array allocated in the unmanaged memory.

Inherited Members
IUnmanagedMemory.Size
IUnmanagedMemory.Clear()
IUnmanagedMemory.Bytes
IUnmanagedMemory.AsStream()
Namespace: DotNext.Runtime.InteropServices
Assembly: DotNext.Unsafe.dll
Syntax
public interface IUnmanagedArray<T> : IUnmanagedMemory, IDisposable, IEnumerable<T> where T : struct
Type Parameters
Name Description
T

The type of the array elements.

Properties

| Improve this Doc View Source

Length

Gets the number of elements in the unmanaged memory.

Declaration
int Length { get; }
Property Value
Type Description
Int32
| Improve this Doc View Source

Pointer

Gets a pointer to the allocated unmanaged memory.

Declaration
Pointer<T> Pointer { get; }
Property Value
Type Description
Pointer<T>
| Improve this Doc View Source

Span

Gets a span from the current instance.

Declaration
Span<T> Span { get; }
Property Value
Type Description
Span<T>

Extension Methods

AsyncLockAcquisition.AcquireLockAsync<T>(T, TimeSpan)
AsyncLockAcquisition.AcquireLockAsync<T>(T, CancellationToken)
AsyncLockAcquisition.AcquireReadLockAsync<T>(T, TimeSpan)
AsyncLockAcquisition.AcquireReadLockAsync<T>(T, CancellationToken)
AsyncLockAcquisition.AcquireWriteLockAsync<T>(T, TimeSpan)
AsyncLockAcquisition.AcquireWriteLockAsync<T>(T, CancellationToken)
AsyncLockAcquisition.AcquireUpgradeableReadLockAsync<T>(T, TimeSpan)
AsyncLockAcquisition.AcquireUpgradeableReadLockAsync<T>(T, CancellationToken)
ExpressionBuilder.Const<T>(T)
ObjectExtensions.GetUserData<T>(T)
ObjectExtensions.IsOneOf<T>(T, IEnumerable<T>)
ObjectExtensions.IsOneOf<T>(T, T[])
ObjectExtensions.Decompose<T, R1, R2>(T, Func<T, R1>, Func<T, R2>, out R1, out R2)
ObjectExtensions.Decompose<T, R1, R2>(T, ValueFunc<T, R1>, ValueFunc<T, R2>, out R1, out R2)
ObjectExtensions.Decompose<T, R1, R2>(T, Func<T, R1>, Func<T, R2>)
ObjectExtensions.Decompose<T, R1, R2>(T, ValueFunc<T, R1>, ValueFunc<T, R2>)
LockAcquisition.AcquireReadLock<T>(T)
LockAcquisition.AcquireReadLock<T>(T, TimeSpan)
LockAcquisition.AcquireWriteLock<T>(T)
LockAcquisition.AcquireWriteLock<T>(T, TimeSpan)
LockAcquisition.AcquireUpgradeableReadLock<T>(T)
LockAcquisition.AcquireUpgradeableReadLock<T>(T, TimeSpan)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX