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