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

Search Results for

    Method FromUIntPtr

    FromUIntPtr(nuint)

    Creates a PersistentPointer<T> from a memory address given as a nint.

    Declaration
    public static PersistentPointer<T> FromUIntPtr(nuint value)
    Parameters
    Type Name Description
    nuint value

    The memory address to create a PersistentPointer<T> from.

    Returns
    Type Description
    PersistentPointer<T>

    A PersistentPointer<T> that points to the same memory address as the specified value.

    Implements
    IPointer<TSelf>.FromUIntPtr(nuint)
    Remarks

    The value must not be 0. If it is, an ArgumentNullException will be thrown.

    Exceptions
    Type Condition
    ArgumentNullException

    value is 0

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