Skip to content

BufferSlice.BufferSlice(PooledBuffer, int, int)

BufferSlice(PooledBuffer, int, int)

View source
public BufferSlice(in PooledBuffer buffer, int offset, int length)
Initializes a new instance of the BufferSlice type.

Parameters

bufferPooledBuffer
The buffer.
offsetint
The offset into the buffer at which this slice begins.
lengthint
The length of this slice.