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

◆ ToUInt32() [2/2]

static uint System.BitConverter.ToUInt32 ( ReadOnlySpan< byte > value)
inlinestatic

Definition at line 326 of file BitConverter.cs.

327 {
328 if (value.Length < 4)
329 {
330 ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.value);
331 }
332 return Unsafe.ReadUnaligned<uint>(ref MemoryMarshal.GetReference(value));
333 }

References System.ThrowHelper.ThrowArgumentOutOfRangeException(), and System.value.