terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches
System.Runtime.InteropServices.Marshal Class Reference

Classes

class  MarshalerInstanceKeyComparer
 
class  SecureStringAllocator
 

Static Public Member Functions

static IntPtr AllocHGlobal (IntPtr cb)
 
static IntPtr AllocHGlobal (int cb)
 
static void Copy (byte[] source, int startIndex, IntPtr destination, int length)
 
static void Copy (IntPtr source, byte[] destination, int startIndex, int length)
 
static void Copy (IntPtr source, char[] destination, int startIndex, int length)
 
static void Copy (IntPtr source, short[] destination, int startIndex, int length)
 
static void Copy (IntPtr source, int[] destination, int startIndex, int length)
 
static void FreeBSTR (IntPtr ptr)
 
static void FreeHGlobal (IntPtr hglobal)
 
static void ZeroFreeBSTR (IntPtr s)
 
static void ZeroFreeGlobalAllocAnsi (IntPtr s)
 
static void ZeroFreeGlobalAllocUnicode (IntPtr s)
 
static int GetHRForException (Exception e)
 
static bool IsComObject (object o)
 
static int GetLastWin32Error ()
 
static string PtrToStringAnsi (IntPtr ptr)
 
static string PtrToStringUni (IntPtr ptr)
 
static object PtrToStructure (IntPtr ptr, Type structureType)
 
static T PtrToStructure< T > (IntPtr ptr)
 
static byte ReadByte (IntPtr ptr, int ofs)
 
static short ReadInt16 (IntPtr ptr, int ofs)
 
static int ReadInt32 (IntPtr ptr, int ofs)
 
static IntPtr StringToHGlobalAnsi (string s)
 
static IntPtr SecureStringToBSTR (SecureString s)
 
static IntPtr SecureStringToGlobalAllocUnicode (SecureString s)
 
static void StructureToPtr (object structure, IntPtr ptr, bool fDeleteOld)
 
static void StructureToPtr< T > (T structure, IntPtr ptr, bool fDeleteOld)
 
static IntPtr UnsafeAddrOfPinnedArrayElement (Array arr, int index)
 
static IntPtr UnsafeAddrOfPinnedArrayElement< T > (T[] arr, int index)
 
static unsafe void WriteByte (IntPtr ptr, int ofs, byte val)
 
static unsafe void WriteInt16 (IntPtr ptr, int ofs, short val)
 
static IntPtr GetFunctionPointerForDelegate< TDelegate > (TDelegate d)
 

Static Public Attributes

static readonly int SystemMaxDBCSCharSize
 
static readonly int SystemDefaultCharSize
 

Static Package Functions

static void copy_to_unmanaged (byte[] source, int startIndex, IntPtr destination, int length)
 
static void copy_from_unmanaged (IntPtr source, int startIndex, Array destination, int length)
 
static IntPtr SecureStringGlobalAllocator (int len)
 
static IntPtr SecureStringToUnicode (SecureString s, Marshal.SecureStringAllocator allocator)
 
static void SetLastWin32Error (int error)
 
static ICustomMarshaler GetCustomMarshalerInstance (Type type, string cookie)
 

Static Package Attributes

static Dictionary< ValueTuple< Type, string >, ICustomMarshalerMarshalerInstanceCache
 
static readonly object MarshalerInstanceCacheLock
 

Static Private Member Functions

static unsafe void copy_to_unmanaged_fixed (Array source, int startIndex, IntPtr destination, int length, void *fixed_source_element)
 
static bool skip_fixed (Array array, int startIndex)
 
static unsafe void copy_from_unmanaged_fixed (IntPtr source, int startIndex, Array destination, int length, void *fixed_destination_element)
 
static unsafe void ClearBSTR (IntPtr ptr)
 
static unsafe void ClearAnsi (IntPtr ptr)
 
static void ClearUnicode (IntPtr ptr)
 
static unsafe IntPtr StringToHGlobalAnsi (char *s, int length)
 
static unsafe IntPtr BufferToBSTR (char *ptr, int slen)
 
static IntPtr GetFunctionPointerForDelegateInternal (Delegate d)
 
static Marshal ()
 

Detailed Description

Definition at line 13 of file Marshal.cs.


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