internal BinXmlTemplateValueDescriptor(byte[] bytes, int offset)
 {
     ValueSize = BitConverter.ToInt16(bytes, offset);
     ValueType = (BinaryXml.VALUE_TYPE)bytes[offset + 0x02];
 }
 internal BinXmlValueText(byte[] bytes, int offset)
 {
     ValueToken = (BinaryXml.TOKEN_TYPE)bytes[offset];
     ValueType = (BinaryXml.VALUE_TYPE)bytes[offset + 0x01];
     ValueData = Encoding.Unicode.GetString(bytes, offset + 0x04, BitConverter.ToInt16(bytes, offset + 0x02));
 }
 internal BinXmlValueText(byte[] bytes, int offset)
 {
     ValueToken = (BinaryXml.TOKEN_TYPE)bytes[offset];
     ValueType  = (BinaryXml.VALUE_TYPE)bytes[offset + 0x01];
     ValueData  = Encoding.Unicode.GetString(bytes, offset + 0x04, BitConverter.ToInt16(bytes, offset + 0x02));
 }
 internal BinXmlSubstitution(byte[] bytes, int offset)
 {
     Token = (BinaryXml.TOKEN_TYPE)bytes[offset];
     SubstitutionId = BitConverter.ToUInt16(bytes, 0x01);
     ValueType = (BinaryXml.VALUE_TYPE)bytes[0x03];
 }
 internal BinXmlTemplateValueDescriptor(byte[] bytes, int offset)
 {
     ValueSize = BitConverter.ToInt16(bytes, offset);
     ValueType = (BinaryXml.VALUE_TYPE)bytes[offset + 0x02];
 }