1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-30 03:18:20 +00:00
trezor-firmware/core/mocks/ubinascii.pyi

8 lines
261 B
Python
Raw Normal View History

from typing import AnyStr
2017-06-14 10:26:02 +00:00
def hexlify(data: bytes, sep: bytes = ...) -> bytes: ...
def unhexlify(data: AnyStr) -> bytes: ...
2017-06-14 10:26:02 +00:00
def a2b_base64(data: bytes) -> bytes: ...
def b2a_base64(data: bytes) -> bytes: ...
def crc32(data: bytes, crc: int = ...) -> int: ...