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