Debian Codegraph @

jedi/third_party/typeshed/stdlib/chunk.pyi

raw symbols SCIP
1 from typing import IO
2
3 class Chunk:
4 closed: bool
5 align: bool
6 file: IO[bytes]
7 chunkname: bytes
8 chunksize: int
9 size_read: int
10 offset: int
11 seekable: bool
12 def __init__(self, file: IO[bytes], align: bool = True, bigendian: bool = True, inclheader: bool = False) -> None: ...
13 def getname(self) -> bytes: ...
14 def getsize(self) -> int: ...
15 def close(self) -> None: ...
16 def isatty(self) -> bool: ...
17 def seek(self, pos: int, whence: int = 0) -> None: ...
18 def tell(self) -> int: ...
19 def read(self, size: int = -1) -> bytes: ...
20 def skip(self) -> None: ...