pycdc/tests/input/test_expressions.py

2 lines
111 B
Python

def _lsbStrToInt(str):
return ord(str[0]) + (ord(str[1]) << 8) + (ord(str[2]) << 16) + (ord(str[3]) << 24)