Format: application/octet-stream
⬇ Download File (613 B)
   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 = ..., bigendian: bool = ..., inclheader: bool = ...) -> 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 = ...) -> None: ...
  18      def tell(self) -> int: ...
  19      def read(self, size: int = ...) -> bytes: ...
  20      def skip(self) -> None: ...
  21