Skip to content

PooledBufferExtensions.GetEnumerator(PooledBuffer)

GetEnumerator(PooledBuffer)

staticextension
View source
public static SpanEnumerator GetEnumerator(this ref PooledBuffer buffer)
Returns an enumerator which can be used to enumerate the data referenced by this instance.

Parameters

bufferPooledBuffer

Returns

An enumerator for the data contained in this instance.