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

◆ ToChar() [2/2]

static char System.BitConverter.ToChar ( ReadOnlySpan< byte > value)
inlinestatic

Definition at line 211 of file BitConverter.cs.

212 {
213 if (value.Length < 2)
214 {
215 ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.value);
216 }
217 return Unsafe.ReadUnaligned<char>(ref MemoryMarshal.GetReference(value));
218 }

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