@property<EOL><INDENT>def compression_type(self):<DEDENT>
best_compression = None<EOL>for e in self.mardata.index.entries:<EOL><INDENT>self.fileobj.seek(e.offset)<EOL>magic = self.fileobj.read(<NUM_LIT:10>)<EOL>compression = guess_compression(magic)<EOL>if compression == '<STR_LIT>':<EOL><INDENT>best_compression = '<STR_LIT>'<EOL>break<EOL><DEDENT>elif compression == '<STR_LIT>' and best_compression is None:<EOL><INDENT>best_compression = '<STR_LIT>'<EOL><DEDENT><DEDENT>return best_compression<EOL>
Return the latest compresion type used in this MAR.

        Returns:
            One of None, 'bz2', or 'xz'