ReadOnlySpanTokenizer<T>(ReadOnlySpan<T>, T) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the ReadOnlySpanTokenizer<T> struct.
public ReadOnlySpanTokenizer (ReadOnlySpan<T> span, T separator);
new Microsoft.Toolkit.HighPerformance.Enumerables.ReadOnlySpanTokenizer<'T (requires 'T :> IEquatable<'T>)> : ReadOnlySpan<'T (requires 'T :> IEquatable<'T>)> * 'T -> Microsoft.Toolkit.HighPerformance.Enumerables.ReadOnlySpanTokenizer<'T (requires 'T :> IEquatable<'T>)>
Public Sub New (span As ReadOnlySpan(Of T), separator As T)
Parameters
- span
- ReadOnlySpan<T>
The source ReadOnlySpan<T> instance.
- separator
- T
The separator item to use.