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

Static Public Member Functions

static unsafe void * AsPointer< T > (ref T value)
 
static int SizeOf< T > ()
 
static T As< T > (object? value)
 
static ref TTo As< TFrom, TTo > (ref TFrom source)
 
static ref T Add< T > (ref T source, int elementOffset)
 
static ref T Add< T > (ref T source, IntPtr elementOffset)
 
static unsafe void * Add< T > (void *source, int elementOffset)
 
static bool AreSame< T > ([AllowNull] ref T left, [AllowNull] ref T right)
 
static bool IsAddressGreaterThan< T > ([AllowNull] ref T left, [AllowNull] ref T right)
 
static bool IsAddressLessThan< T > ([AllowNull] ref T left, [AllowNull] ref T right)
 
static void InitBlockUnaligned (ref byte startAddress, byte value, uint byteCount)
 
static unsafe T ReadUnaligned< T > (void *source)
 
static T ReadUnaligned< T > (ref byte source)
 
static unsafe void WriteUnaligned< T > (void *destination, T value)
 
static void WriteUnaligned< T > (ref byte destination, T value)
 
static ref T AddByteOffset< T > (ref T source, IntPtr byteOffset)
 
static unsafe T Read< T > (void *source)
 
static T Read< T > (ref byte source)
 
static unsafe void Write< T > (void *destination, T value)
 
static void Write< T > (ref byte destination, T value)
 
static unsafe ref T AsRef< T > (void *source)
 
static ref T AsRef< T > (in T source)
 
static IntPtr ByteOffset< T > ([AllowNull] ref T origin, [AllowNull] ref T target)
 
static unsafe ref T NullRef< T > ()
 
static unsafe bool IsNullRef< T > (ref T source)
 
static void SkipInit< T > (out T value)
 

Static Package Functions

static unsafe ref T AddByteOffset< T > (ref T source, nuint byteOffset)
 

Detailed Description

Definition at line 9 of file Unsafe.cs.


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