stdlib¶
- base58_check_encode(key: bytes) → str¶
Converts a bytes value to its equivalent str representation that is encoded with base-58 digits. The encoded str contains the checksum of the binary data.
- base58_check_decode(key: str) → bytes¶
Converts the specified str, which encodes binary data as base-58 digits, to an equivalent bytes value. The encoded str contains the checksum of the binary data.
- atoi(value: str, base: int = 10) → int¶
Converts a character string to a specific base value, decimal or hexadecimal. The default is decimal.
- itoa(value: int, base: int = 10) → str¶
Converts the specific type of value to a decimal or hexadecimal string. The default is decimal.
- memory_search(mem: boa3.builtin.type.ByteString, value: boa3.builtin.type.ByteString, start: int = 0, backward: bool = False) → int¶
Searches for a given value in a given memory.
- memory_compare(mem1: boa3.builtin.type.ByteString, mem2: boa3.builtin.type.ByteString) → int¶
Compares a memory with another one.