Пример #1
0
 def decode(self, buffer):
     result = UChar.decode(self, buffer)
     BinaryData.set_endianness({1: 'little', 2: 'big'}[self.value])
     return result
Пример #2
0
 def decode(self, buffer):
     result = UChar.decode(self, buffer)
     BinaryData.set_address_size({1: 32, 2: 64}[self.value])
     return result
Пример #3
0
 def decode(self, buffer):
     result = UChar.decode(self, buffer)
     BinaryData.set_address_size({1: 32, 2: 64}[self.value])
     return result
Пример #4
0
 def decode(self, buffer):
     result = UChar.decode(self, buffer)
     BinaryData.set_endianness({1: 'little', 2: 'big'}[self.value])
     return result
 def decode(self, buffer):
     result = UChar.decode(self, buffer)
     BinaryData.set_endianness({1: "little", 2: "big"}[self.value])
     return result