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

◆ TryCopyTo() [1/2]

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

Definition at line 1076 of file Vector.cs.

1077 {
1078 ThrowHelper.ThrowForUnsupportedNumericsVectorBaseType<T>();
1079 if ((uint)destination.Length < (uint)Vector<byte>.Count)
1080 {
1081 return false;
1082 }
1083 Unsafe.WriteUnaligned(ref MemoryMarshal.GetReference(destination), this);
1084 return true;
1085 }

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