6 lines
132 B
Python
6 lines
132 B
Python
from hexbytes.main import HexBytes
|
|
|
|
|
|
def hex_to_int(value: str) -> int:
|
|
return int.from_bytes(HexBytes(value), byteorder="big")
|