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

◆ Xor() [2/2]

static void System.Security.Cryptography.RsaPaddingProcessor.Xor ( Span< byte > a,
ReadOnlySpan< byte > b )
inlinestaticprivate

Definition at line 219 of file RsaPaddingProcessor.cs.

220 {
221 if (a.Length != b.Length)
222 {
223 throw new InvalidOperationException();
224 }
225 for (int i = 0; i < b.Length; i++)
226 {
227 a[i] ^= b[i];
228 }
229 }
int Length
Definition Span.cs:70

References System.ReadOnlySpan< T >.Length, and System.Span< T >.Length.