예제 #1
0
 internal BinXmlTemplateValueDescriptor(byte[] bytes, int offset)
 {
     ValueSize = BitConverter.ToInt16(bytes, offset);
     ValueType = (BinaryXml.VALUE_TYPE)bytes[offset + 0x02];
 }
예제 #2
0
 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));
 }
예제 #3
0
 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));
 }
예제 #4
0
 internal BinXmlSubstitution(byte[] bytes, int offset)
 {
     Token = (BinaryXml.TOKEN_TYPE)bytes[offset];
     SubstitutionId = BitConverter.ToUInt16(bytes, 0x01);
     ValueType = (BinaryXml.VALUE_TYPE)bytes[0x03];
 }
예제 #5
0
 internal BinXmlTemplateValueDescriptor(byte[] bytes, int offset)
 {
     ValueSize = BitConverter.ToInt16(bytes, offset);
     ValueType = (BinaryXml.VALUE_TYPE)bytes[offset + 0x02];
 }