Exemplo n.º 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));
 }
Exemplo n.º 2
0
 private void AppendNode(System.Xml.XmlBinaryNodeType value)
 {
     this.AppendByte((int)value);
 }