示例#1
0
 def is_valid_for_data(cls, data: BinaryView) -> bool:
     return data.read(0, 8) in cls.DEX_FILE_MAGICS
示例#2
0
 def is_valid_for_data(self, data: BinaryView):
     header = data.read(0x21A4, 24)
     return header == b"NINTENDOMPKMminipokemon\x00"