You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
trezor-firmware/core/mocks/ustruct.pyi

8 lines
303 B

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: ...