Searched refs:MAGIC_7Z (Results 1 – 4 of 4) sorted by relevance
28 MAGIC_7Z = binascii.unhexlify('377abcaf271c') variable117 formats = [{'name': "7z", 'magic': MAGIC_7Z}]
45 from py7zr.properties import MAGIC_7Z, READ_BLOCKSIZE, ArchivePassword526 result = MAGIC_7Z == fp.read(len(MAGIC_7Z))[:len(MAGIC_7Z)]527 fp.seek(-len(MAGIC_7Z), 1)
39 from py7zr.properties import MAGIC_7Z, CompressionMethod, Property1039 file.seek(len(MAGIC_7Z), 0)1068 write_bytes(file, MAGIC_7Z)1078 write_bytes(file, MAGIC_7Z)
107 MAGIC_7Z = unhexlify('377abcaf271c') # '7z\xbc\xaf\x27\x1c' variable786 self.header = file.read(len(MAGIC_7Z))787 if self.header != MAGIC_7Z: