def unpack_data(self, s): props = getbytes(s, 5) data = getbytes(s, self.compressed_size) alone_data = props + pack("Q", self.uncompressed_size) + data unpacked = decompress(alone_data, FORMAT_ALONE) return unpacked
def unpack_data(self, s): self.prefix.unpack(s) data = getbytes(s, self.prefix.data) data = data.decode() return data