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

◆ Equals()

bool System.Xml.XmlCanonicalWriter.Equals ( byte[] buffer1,
int offset1,
int length1,
byte[] buffer2,
int offset2,
int length2 )
inlineprivate

Definition at line 1045 of file XmlCanonicalWriter.cs.

1046 {
1047 if (length1 != length2)
1048 {
1049 return false;
1050 }
1051 for (int i = 0; i < length1; i++)
1052 {
1053 if (buffer1[offset1 + i] != buffer2[offset2 + i])
1054 {
1055 return false;
1056 }
1057 }
1058 return true;
1059 }

References System.Xml.Dictionary, System.length1, and System.length2.

Referenced by System.Xml.XmlCanonicalWriter.ResolvePrefix(), and System.Xml.XmlCanonicalWriter.WriteEndStartElement().