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

◆ ToInt64() [2/2]

static long System.BitConverter.ToInt64 ( ReadOnlySpan< byte > value)
inlinestatic

Definition at line 292 of file BitConverter.cs.

293 {
294 if (value.Length < 8)
295 {
296 ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.value);
297 }
298 return Unsafe.ReadUnaligned<long>(ref MemoryMarshal.GetReference(value));
299 }

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