Skip to content

Commit 6c4fdc4

Browse files
committed
Add IgzipDecompressor stub file
1 parent dd0da03 commit 6c4fdc4

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/isal/igzip_lib.pyi

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,10 @@ def compress(data, level: int = ISAL_DEFAULT_COMPRESSION,
5353
def decompress(data, flag: int = DECOMP_DEFLATE,
5454
hist_bits: int = MAX_HIST_BITS,
5555
bufsize: int = DEF_BUF_SIZE) -> bytes: ...
56+
57+
class IgzipDecompressor:
58+
unused_data: bytes
59+
needs_input: bool
60+
eof: bool
61+
62+
def decompress(self, data, max_length = -1) -> bytes: ...

0 commit comments

Comments
 (0)