docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct FixedString64Bytes.Enumerator

    An enumerator over the characters (not bytes) of a FixedString64Bytes.

    Namespace: Unity.Collections
    Assembly: Unity.Collections.dll
    Syntax
    public struct FixedString64Bytes.Enumerator
    Remarks

    In an enumerator's initial state, Current is not valid to read. The first MoveNext() call advances the enumerator's index to the first character.

    Constructors

    Enumerator(FixedString64Bytes)

    Initializes and returns an instance of FixedString64Bytes.Enumerator.

    Declaration
    public Enumerator(FixedString64Bytes other)
    Parameters
    Type Name Description
    FixedString64Bytes other

    A FixeString64 for which to create an enumerator.

    Properties

    Current

    The current character.

    Declaration
    public Unicode.Rune Current { get; }
    Property Value
    Type Description
    Unicode.Rune

    The current character.

    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
    Type Description
    bool

    True if Current is valid to read after the call.

    Reset()

    Resets the enumerator to its initial state.

    Declaration
    public void Reset()
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)