File tree Expand file tree Collapse file tree 2 files changed +757
-0
lines changed Expand file tree Collapse file tree 2 files changed +757
-0
lines changed Original file line number Diff line number Diff line change 5
5
# This file is part of python-zlib-ng which is distributed under the
6
6
# PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2.
7
7
8
+ import typing
9
+
8
10
MAX_WBITS : int
9
11
DEFLATED : int
10
12
DEF_MEM_LEVEL : int
@@ -77,3 +79,16 @@ class _ZlibDecompressor:
77
79
zdict = None ): ...
78
80
79
81
def decompress (self , __data , max_length = - 1 ) -> bytes : ...
82
+
83
+ class _GzipReader :
84
+ def __init__ (self , fp : typing .BinaryIO , buffersize : int = 32 * 1024 ): ...
85
+ def readinto (self , obj ) -> int : ...
86
+ def readable (self ) -> bool : ...
87
+ def writable (self ) -> bool : ...
88
+ def seekable (self ) -> bool : ...
89
+ def tell (self ) -> int : ...
90
+ def seek (self , offset : int , whence : int ): ...
91
+ def close (self ): ...
92
+ def readall (self ) -> bytes : ...
93
+ def read (self , __size : int ): ...
94
+ def flush (self ): ...
You can’t perform that action at this time.
0 commit comments