construct-typing/construct-stubs/lib/hex.pyi

15 lines
367 B
Python
Raw Permalink Normal View History

import typing as t
2020-12-09 21:26:16 +01:00
class HexDisplayedInteger(int): ...
class HexDisplayedBytes(bytes): ...
K = t.TypeVar("K")
V = t.TypeVar("V")
2020-12-09 21:26:16 +01:00
class HexDisplayedDict(t.Dict[K, V]): ...
2020-12-09 21:26:16 +01:00
class HexDumpDisplayedBytes(bytes): ...
class HexDumpDisplayedDict(t.Dict[K, V]): ...
2023-07-18 17:26:03 +02:00
def hexdump(data: bytes, linesize: int) -> str: ...
def hexundump(data: str, linesize: int) -> bytes: ...