Skip to content

PooledBuffer.Slice(int)

Slice(int)

View source
public readonly BufferSlice Slice(int offset)
Returns a slice of this buffer, beginning at the specified offset.

Parameters

offsetint

Returns

A slice representing a subset of this instance, beginning at the specified offset.