I want to interpret (not convert) ascii chars as their hex values. I.e., I have `string = 'a';` It should be converted to hex value **0xa**.

I only found solutions which convert the ascii value into its hex representation (which would be 0x61 but which is not the value I am looking for).