Example #1
0
 def encode(self, flash):
     """Encodes the given *flash* as a zlib compressed JSON string.
     """
     return zlib.compress(JSONCodecClass.encode(self, flash))