Beispiel #1
0
 public static bool MatchAttributeNode(byte[] buffer, int offset, int size)
 {
     if (size < 1)
     {
         return(false);
     }
     System.Xml.XmlBinaryNodeType type = (System.Xml.XmlBinaryNodeType)buffer[offset];
     return((type >= System.Xml.XmlBinaryNodeType.MinAttribute) && (type <= System.Xml.XmlBinaryNodeType.DictionaryAttribute));
 }
Beispiel #2
0
 private void AppendNode(System.Xml.XmlBinaryNodeType value)
 {
     this.AppendByte((int)value);
 }