Edit

Share via


SpanTokenizer<T> Struct

Definition

A refstruct that tokenizes a given Span<T> instance.

public ref struct SpanTokenizer<T> where T : IEquatable<T>
type SpanTokenizer<'T (requires 'T :> IEquatable<'T>)> = struct
Public Structure SpanTokenizer(Of T)

Type Parameters

T

The type of items to enumerate.

Inheritance
SpanTokenizer<T>

Constructors

SpanTokenizer<T>(Span<T>, T)

Initializes a new instance of the SpanTokenizer<T> struct.

Properties

Current

Gets the duck-typed Current property.

Methods

GetEnumerator()

Implements the duck-typed GetEnumerator() method.

MoveNext()

Implements the duck-typed MoveNext() method.

Applies to