Header menu logo Nu

ArrayPin<'a> Type

Abstraction for native pointer pinning for arrays.

Constructors

Constructor Description

ArrayPin(memory)

Full Usage: ArrayPin(memory)

Parameters:
Returns: ArrayPin<'a>

Create an ArrayPin for a given Memory.

memory : Memory<'a>
Returns: ArrayPin<'a>

ArrayPin(array)

Full Usage: ArrayPin(array)

Parameters:
    array : 'a array

Returns: ArrayPin<'a>

Create an ArrayPin for a given array.

array : 'a array
Returns: ArrayPin<'a>

Instance members

Instance member Description

this.NativeInt

Full Usage: this.NativeInt

Returns: nativeint

The nativeint to the pinned array.

Returns: nativeint

this.Pointer

Full Usage: this.Pointer

Returns: nativeptr<'a>

The native pointer to the pinned array.

Returns: nativeptr<'a>

this.VoidPtr

Full Usage: this.VoidPtr

Returns: voidptr

The void pointer to the pinned array.

Returns: voidptr

Type something to start searching.