We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f739ef commit 82916dcCopy full SHA for 82916dc
src/isal/isal_zlib.pyx
@@ -572,6 +572,7 @@ cdef class Decompress:
572
# we assume the bitbuffer data is already added.
573
self.unused_data = self._view_bitbuffer()
574
self.unused_data += new_data
575
+ self.unconsumed_tail = b"" # When there is unused_data unconsumed tail should be b""
576
elif self.stream.avail_in > 0 or self.unconsumed_tail:
577
left_size = <unsigned char*>data.buf + data.len - self.stream.next_in
578
new_data = PyBytes_FromStringAndSize(<char *>self.stream.next_in, left_size)
0 commit comments