Class UnsafeUtilityEx
Inheritance
System.Object
UnsafeUtilityEx
Syntax
public static class UnsafeUtilityEx
Methods
ArrayElementAsRef<T>(Void*, Int32)
Declaration
public static T ArrayElementAsRef<T>(void *ptr, int index)
where T : struct
Parameters
Type |
Name |
Description |
System.Void* |
ptr |
|
System.Int32 |
index |
|
Returns
Type Parameters
AsRef<T>(Void*)
Declaration
public static T AsRef<T>(void *ptr)
where T : struct
Parameters
Type |
Name |
Description |
System.Void* |
ptr |
|
Returns
Type Parameters
MemSet(Void*, Byte, Int32)
Declaration
public static void MemSet(void *destination, byte value, int count)
Parameters
Type |
Name |
Description |
System.Void* |
destination |
|
System.Byte |
value |
|
System.Int32 |
count |
|
RestrictNoAlias(Void*)
Declaration
public static void *RestrictNoAlias(void *ptr)
Parameters
Type |
Name |
Description |
System.Void* |
ptr |
|
Returns
Type |
Description |
System.Void* |
|