Skip to content

BufferSlice.Slice(int, int)

Slice(int, int)

View source
public BufferSlice Slice(int offset, int length)
Forms a slice out of this instance, beginning at the specified offset into this slice and having the specified length.

Parameters

offsetint
The offset into this slice where the newly formed slice will begin.
lengthint
The length of the new slice.

Returns

A slice instance.