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

◆ CopyTo() [1/4]

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

Definition at line 977 of file Vector.cs.

978 {
979 ThrowHelper.ThrowForUnsupportedNumericsVectorBaseType<T>();
980 if ((uint)destination.Length < (uint)Vector<byte>.Count)
981 {
982 ThrowHelper.ThrowArgumentException_DestinationTooShort();
983 }
984 Unsafe.WriteUnaligned(ref MemoryMarshal.GetReference(destination), this);
985 }

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

Referenced by System.Numerics.Vector< T >.CopyTo().