12345678910111213141516171819202122 |
- import enum
- __version__: str
- class _Mode(enum.IntEnum): # not an actual enum but helps with typing
- _MODE_GENERIC = ...
- _MODE_TEXT = ...
- _MODE_FONT = ...
- MODE_GENERIC = _Mode._MODE_GENERIC
- MODE_TEXT = _Mode._MODE_TEXT
- MODE_FONT = _Mode._MODE_FONT
- class Compressor: ...
- class Decompressor: ...
- def compress(string: bytes, mode: _Mode = ..., quality: int = ..., lgwin: int = ..., lgblock: int = ...) -> bytes: ...
- def decompress(string: bytes) -> bytes: ...
- class error(Exception): ...
|