Skip to content

Commit 65ed600

Browse files
committed
Fix _view_bitbuffer return value
1 parent cf6f4a5 commit 65ed600

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/isal/igzip_lib.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ cdef class IgzipDecompressor:
295295
"""Shows the 64-bitbuffer of the internal inflate_state. It contains
296296
a maximum of 8 bytes. This data is already read-in so is not part
297297
of the unconsumed tail."""
298-
view_bitbuffer(&self.stream)
298+
return view_bitbuffer(&self.stream)
299299

300300
cdef unsigned char * decompress_buf(self, Py_ssize_t max_length):
301301
cdef unsigned char * obuf = NULL

0 commit comments

Comments
 (0)