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