Bytes to int python. For example, if you have the byte sequence b'\x00\x01', ...