I am trying to convert a 4 letter string (that can be of any character on the ASCII chart) into decimal values. For example:

- bean which has a hex value of 62 65 61 6E should have a value of 6736203616366.

- I know about ord() but that only works for single characters.

Any help is appreciated :].