For example, I want 68656c6c6f
, the hex encoding of the word 'hello', to be converted into [104, 101, 108, 108, 111]
. I need it as a list, not as a continuous integer.
x=int("68656c6c6f",16)
is apparently not what I'm looking for because it gives me 448378203247
instead, which makes sense. But it's not my solution.