Search Results for

    Show / Hide Table of Contents

    Class UnsafeMethods

    Unsafe and native methods.

    Inheritance
    object
    UnsafeMethods
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Evergine.Common
    Assembly: Evergine.Common.dll
    Syntax
    public static class UnsafeMethods

    Methods

    ClonePointer(IntPtr, int)

    Clones the pointer.

    Declaration
    public static IntPtr ClonePointer(IntPtr source, int dataSize)
    Parameters
    Type Name Description
    IntPtr source

    The source.

    int dataSize

    Size of the data.

    Returns
    Type Description
    IntPtr

    New IntPtr created.

    CopyPointer(IntPtr, IntPtr, int)

    Copies the pointers.

    Declaration
    public static void CopyPointer(IntPtr source, IntPtr destination, int count)
    Parameters
    Type Name Description
    IntPtr source

    The source.

    IntPtr destination

    The destination.

    int count

    The count.

    In This Article
    Back to top
    Generated by DocFX