Edit

ArcBufferPage.AsMemory Method

Definition

Overloads

Name Description
AsMemory(Int32)

Creates a new memory region over the portion of the target page beginning at a specified position.

AsMemory(Int32, Int32)

Creates a new memory region over the portion of the target page beginning at a specified position with a specified length.

AsMemory(Int32)

Creates a new memory region over the portion of the target page beginning at a specified position.

public Memory<byte> AsMemory(int offset);
member this.AsMemory : int -> Memory<byte>
Public Function AsMemory (offset As Integer) As Memory(Of Byte)

Parameters

offset
Int32

The offset into the array to return memory from.

Returns

The memory region.

Applies to

AsMemory(Int32, Int32)

Creates a new memory region over the portion of the target page beginning at a specified position with a specified length.

public Memory<byte> AsMemory(int offset, int length);
member this.AsMemory : int * int -> Memory<byte>
Public Function AsMemory (offset As Integer, length As Integer) As Memory(Of Byte)

Parameters

offset
Int32

The offset into the array that the memory region starts from.

length
Int32

The length of the memory region.

Returns

The memory region.

Applies to