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

◆ CopyTo() [2/4]

readonly void System.Numerics.Vector< T >.CopyTo ( Span< T > destination)
inline

Definition at line 987 of file Vector.cs.

988 {
989 ThrowHelper.ThrowForUnsupportedNumericsVectorBaseType<T>();
990 if ((uint)destination.Length < (uint)Count)
991 {
992 ThrowHelper.ThrowArgumentException_DestinationTooShort();
993 }
994 Unsafe.WriteUnaligned(ref Unsafe.As<T, byte>(ref MemoryMarshal.GetReference(destination)), this);
995 }

References System.Numerics.Vector< T >.Count, System.destination, and System.ThrowHelper.ThrowArgumentException_DestinationTooShort().