SemPtr SemPtr
SemPtr SemPtr
Documentation generated with DocFX
Using SingulinkFX as the template

Search Results for

    Method InitializeTargets

    InitializeTargets(ReadOnlySpan<T>)

    Initializes the sequence of target values the current pointer is pointing to with the specified values.

    Declaration
    public PersistentSequencePointer<T> InitializeTargets(ReadOnlySpan<T> values)
    Parameters
    Type Name Description
    ReadOnlySpan<T> values

    The values to initialize at the target locations.

    Returns
    Type Description
    PersistentSequencePointer<T>

    A new PersistentSequencePointer<T> pointing to the same target as the current pointer, representing the initialized sequence.

    Remarks

    There are no bounds checks performed regarding the length of the values parameter. It is the caller's responsibility to ensure that the specified range is valid and does not exceed the bounds of the sequence the pointer is pointing to.

    The sequence the current pointer is pointing to and the sequence referenced by the values parameter can overlap without any issues.

    © 2026 Felix Rüdiger. SemPtr and its documentation are licensed under the MIT license.