Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.Runtime.CompilerServices.Unsafe Class Reference

Static Public Member Functions

static unsafe T Read< T > (void *source)
 
static unsafe T ReadUnaligned< T > (void *source)
 
static T ReadUnaligned< T > (ref byte source)
 
static unsafe void Write< T > (void *destination, T value)
 
static unsafe void WriteUnaligned< T > (void *destination, T value)
 
static void WriteUnaligned< T > (ref byte destination, T value)
 
static unsafe void Copy< T > (void *destination, ref T source)
 
static unsafe void Copy< T > (ref T destination, void *source)
 
static unsafe void * AsPointer< T > (ref T value)
 
static void SkipInit< T > (out T value)
 
static int SizeOf< T > ()
 
static unsafe void CopyBlock (void *destination, void *source, uint byteCount)
 
static void CopyBlock (ref byte destination, ref byte source, uint byteCount)
 
static unsafe void CopyBlockUnaligned (void *destination, void *source, uint byteCount)
 
static void CopyBlockUnaligned (ref byte destination, ref byte source, uint byteCount)
 
static unsafe void InitBlock (void *startAddress, byte value, uint byteCount)
 
static void InitBlock (ref byte startAddress, byte value, uint byteCount)
 
static unsafe void InitBlockUnaligned (void *startAddress, byte value, uint byteCount)
 
static void InitBlockUnaligned (ref byte startAddress, byte value, uint byteCount)
 
static T As< T > (object o)
 
static unsafe ref T AsRef< T > (void *source)
 
static ref T AsRef< T > (in T source)
 
static ref TTo As< TFrom, TTo > (ref TFrom source)
 
static ref T Unbox< T > (object box)
 
static ref T Add< T > (ref T source, int elementOffset)
 
static unsafe void * Add< T > (void *source, int elementOffset)
 
static ref T Add< T > (ref T source, IntPtr elementOffset)
 
static ref T Add< T > (ref T source, [System.Runtime.Versioning.NonVersionable] nuint elementOffset)
 
static ref T AddByteOffset< T > (ref T source, IntPtr byteOffset)
 
static ref T AddByteOffset< T > (ref T source, [System.Runtime.Versioning.NonVersionable] nuint byteOffset)
 
static ref T Subtract< T > (ref T source, int elementOffset)
 
static unsafe void * Subtract< T > (void *source, int elementOffset)
 
static ref T Subtract< T > (ref T source, IntPtr elementOffset)
 
static ref T Subtract< T > (ref T source, [System.Runtime.Versioning.NonVersionable] nuint elementOffset)
 
static ref T SubtractByteOffset< T > (ref T source, IntPtr byteOffset)
 
static ref T SubtractByteOffset< T > (ref T source, [System.Runtime.Versioning.NonVersionable] nuint byteOffset)
 
static IntPtr ByteOffset< T > (ref T origin, ref T target)
 
static bool AreSame< T > (ref T left, ref T right)
 
static bool IsAddressGreaterThan< T > (ref T left, ref T right)
 
static bool IsAddressLessThan< T > (ref T left, ref T right)
 
static unsafe bool IsNullRef< T > (ref T source)
 
static unsafe ref T NullRef< T > ()
 

Detailed Description

Definition at line 5 of file Unsafe.cs.


The documentation for this class was generated from the following file: