2020-12-12 13:17:27 +01:00
|
|
|
import typing as t
|
2020-12-09 21:26:16 +01:00
|
|
|
|
|
|
|
|
class HexDisplayedInteger(int): ...
|
|
|
|
|
class HexDisplayedBytes(bytes): ...
|
|
|
|
|
|
2020-12-12 13:17:27 +01:00
|
|
|
K = t.TypeVar("K")
|
|
|
|
|
V = t.TypeVar("V")
|
2020-12-09 21:26:16 +01:00
|
|
|
|
2021-03-16 18:51:04 +01:00
|
|
|
class HexDisplayedDict(t.Dict[K, V]): ...
|
2020-12-09 21:26:16 +01:00
|
|
|
class HexDumpDisplayedBytes(bytes): ...
|
2021-03-16 18:51:04 +01:00
|
|
|
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: ...
|