mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-25 00:48:19 +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: ...
|