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

◆ IsNextCharacterNonFFFE()

bool System.Xml.XmlUTF8TextReader.IsNextCharacterNonFFFE ( byte[] buffer,
int offset )
inlineprivate

Definition at line 451 of file XmlUTF8TextReader.cs.

452 {
453 if (buffer[offset + 1] == 191 && (buffer[offset + 2] == 190 || buffer[offset + 2] == 191))
454 {
455 return false;
456 }
457 return true;
458 }

References System.buffer, and System.offset.

Referenced by System.Xml.XmlUTF8TextReader.ReadTextAndWatchForInvalidCharacters().