Struct FixedString512Bytes.Enumerator
An enumerator over the characters (not bytes) of a FixedString512Bytes.
Namespace: Unity.Collections
Assembly: Unity.Collections.dll
Syntax
public struct FixedString512Bytes.Enumerator
Remarks
In an enumerator's initial state, Current is not valid to read.
The first Move
Constructors
Enumerator(FixedString512Bytes)
Initializes and returns an instance of FixedString512Bytes.Enumerator.
Declaration
public Enumerator(FixedString512Bytes other)
Parameters
Type | Name | Description |
---|---|---|
Fixed |
other | A FixeString512 for which to create an enumerator. |
Properties
Current
The current character.
Declaration
public Unicode.Rune Current { get; }
Property Value
Remarks
In an enumerator's initial state, Current is not valid to read.
Methods
Dispose()
Does nothing.
Declaration
public void Dispose()
MoveNext()
Advances the enumerator to the next character.
Declaration
public bool MoveNext()
Returns
Reset()
Resets the enumerator to its initial state.
Declaration
public void Reset()