Skip to content

SpanEnumerator Methods

Enumerates over spans of bytes in a ArcBuffer.

GetEnumerator

View source
public readonly SpanEnumerator GetEnumerator()
Gets this instance as an enumerator.

Returns

This instance.

MoveNext

View source
public bool MoveNext()
Advances the enumerator to the next element of the collection.

Returns

true if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection.