internal BinXmlAttributeList(byte[] bytes, int chunkOffset, int offset)
        {
            DataSize       = BitConverter.ToUInt32(bytes, offset);
            AttributeArray = new BinXmlAttribute(bytes, chunkOffset, offset);

            /*List<BinXmlAttribute> attributeList = new List<BinXmlAttribute>();
             *
             * BinXmlAttribute attribute = null;
             *
             * do
             * {
             *  attribute = new BinXmlAttribute(bytes, chunkOffset, ref offset);
             * } while (attribute.Token == BinaryXml.TOKEN_TYPE.BinXmlTokenAttribute_Additional);
             *
             * AttributeArray = attributeList.ToArray();*/
        }
        internal BinXmlAttributeList(byte[] bytes, int chunkOffset, int offset)
        {
            DataSize = BitConverter.ToUInt32(bytes, offset);
            AttributeArray = new BinXmlAttribute(bytes, chunkOffset, offset);

            /*List<BinXmlAttribute> attributeList = new List<BinXmlAttribute>();

            BinXmlAttribute attribute = null;

            do
            {
                attribute = new BinXmlAttribute(bytes, chunkOffset, ref offset);
            } while (attribute.Token == BinaryXml.TOKEN_TYPE.BinXmlTokenAttribute_Additional);

            AttributeArray = attributeList.ToArray();*/
        }