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

◆ TryCopyTo() [2/2]

readonly bool System.Numerics.Vector< T >.TryCopyTo ( Span< T > destination)
inline

Definition at line 1087 of file Vector.cs.

1088 {
1089 ThrowHelper.ThrowForUnsupportedNumericsVectorBaseType<T>();
1090 if ((uint)destination.Length < (uint)Count)
1091 {
1092 return false;
1093 }
1094 Unsafe.WriteUnaligned(ref Unsafe.As<T, byte>(ref MemoryMarshal.GetReference(destination)), this);
1095 return true;
1096 }

References System.Numerics.Vector< T >.Count, and System.destination.