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