Skip to content

ArcBuffer.Slice(int, int)

Slice(int, int)

View source
public readonly ArcBuffer Slice(int offset, int length)
Creates a pinned slice of the specified length.

Parameters

offsetint
The zero-based offset at which the slice begins.
lengthint
The length of the slice.

Returns

A pinned slice which must be disposed when it is no longer needed.