Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ SizeOf< T >() [2/2]

static int System.Runtime.InteropServices.Marshal.SizeOf< T > ( T structure)
inlinestatic

Definition at line 706 of file Marshal.cs.

707 {
708 if (structure == null)
709 {
710 throw new ArgumentNullException("structure");
711 }
712 return SizeOfHelper(structure.GetType(), throwIfNotMarshalable: true);
713 }
static int SizeOfHelper(Type t, bool throwIfNotMarshalable)

References System.Runtime.InteropServices.Marshal.SizeOfHelper().