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

Search Results for

    Method FromRaw

    FromRaw(void*)

    Creates a NullableSequencePointer from a raw pointer.

    Declaration
    public static NullableSequencePointer FromRaw(void* raw)
    Parameters
    Type Name Description
    void* raw

    The raw pointer specifying the contiguous target sequence that the resulting NullableSequencePointer will point to.

    Returns
    Type Description
    NullableSequencePointer

    A NullableSequencePointer that points to the same contiguous target sequence as the specified raw pointer.

    Implements
    IPointer<TSelf>.FromRaw(void*)
    Remarks

    The raw pointer may be null. If it is, the resulting NullableSequencePointer will represent a null pointer.

    The resulting NullableSequencePointer will point to the same contiguous target sequence as raw.

    FromRaw<T>(T*)

    Creates a NullableSequencePointer<T> from a raw pointer.

    Declaration
    public static NullableSequencePointer<T> FromRaw<T>(T* raw) where T : unmanaged, allows ref struct
    Parameters
    Type Name Description
    T* raw

    The raw pointer specifying the contiguous target sequence that the resulting NullableSequencePointer<T> will point to.

    Returns
    Type Description
    NullableSequencePointer<T>

    A NullableSequencePointer<T> that points to the same contiguous target sequence as the specified raw pointer.

    Type Parameters
    Name Description
    T

    The type of the target that the resulting NullableSequencePointer<T> will point to.

    Remarks

    The raw pointer may be null. If it is, the resulting NullableSequencePointer<T> will represent a null pointer.

    The resulting NullableSequencePointer<T> will point to the same contiguous target sequence as raw.

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