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

◆ ToUInt64() [2/2]

static ulong System.BitConverter.ToUInt64 ( ReadOnlySpan< byte > value)
inlinestatic

Definition at line 343 of file BitConverter.cs.

344 {
345 if (value.Length < 8)
346 {
347 ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.value);
348 }
349 return Unsafe.ReadUnaligned<ulong>(ref MemoryMarshal.GetReference(value));
350 }

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