Skip to content

ArcBufferReader.PeekSlice(int)

PeekSlice(int)

View source
public ArcBuffer PeekSlice(int count)
Returns a pinned slice of the provided length without marking the data referred to it as consumed.

Parameters

countint
The number of bytes to consume.

Returns

A pinned slice of unconsumed data. The caller owns the returned buffer and must dispose it.