def decompress(self): if self.isCompress() is False: return self.message.content = Compress.decompress(self.message.content) self.__setCompress(False)
def compress(self): if self.isCompress(): return self.message.content = Compress.compress(self.message.content) self.__setCompress(True) self.__setCompressAlgo("ZLIB")