mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-15 10:58:09 +00:00
8 lines
303 B
Python
8 lines
303 B
Python
from typing import *
|
|
|
|
def calcsize(fmt: str) -> int: ...
|
|
def pack(fmt: str, *args: Any) -> bytes: ...
|
|
def pack_into(fmt: str, buffer: bytearray, offset: int, *args: Any) -> None: ...
|
|
def unpack(fmt: str, data: bytes) -> Tuple: ...
|
|
def unpack_from(fmt: str, data: bytes, offset: int = ...) -> Tuple: ...
|