Table of Contents

Struct ArrayAddress2<T>

Namespace
OpenCvSharp.Internal.Util
Assembly
OpenCvSharp.dll

Pins each row of a jagged array for the duration of a single native call and exposes the row addresses. Scoped, stack-only helper (use with using): no finalizer.

public ref struct ArrayAddress2<T> where T : unmanaged

Type Parameters

T
Inherited Members

Constructors

ArrayAddress2(IEnumerable<IEnumerable<T>>)

public ArrayAddress2(IEnumerable<IEnumerable<T>> enumerable)

Parameters

enumerable IEnumerable<IEnumerable<T>>

ArrayAddress2(T[][])

public ArrayAddress2(T[][] array)

Parameters

array T[][]

Methods

Dispose()

Releases the pins.

public void Dispose()

GetDim1Length()

public readonly int GetDim1Length()

Returns

int

GetDim2Lengths()

public readonly int[] GetDim2Lengths()

Returns

int[]

GetPointer()

public readonly nint[] GetPointer()

Returns

nint[]