Skip to content

ArcBufferPage.AsArraySegment(int, int)

AsArraySegment(int, int)

View source
public ArraySegment<byte> AsArraySegment(int offset, int length)
Returns an array segment pointing to the underlying array, starting from the provided offset, and having the provided length.

Parameters

offsetint
The offset into the array that the array segment starts from.
lengthint
The length of the array segment.

Returns

The array segment.