What I don’t understand is, why he multiplies the decimal value with 256? I have tried to Google this a lot and read a lot of tutorials on decimal and hex conversion, but I still find it hard to grasp.
My “theory” so far is, that “multiply by 256” is something to do with the fact that a byte can be represented by two hex digits, where each hex digit can have 16 different values, and because the decimal value is derived based on two hex digits we need to do 16^2 = 256 and multiply the decimal to 256 to the power of it’s weight.
But to be honest I’m confused and don’t really understand what is going on ???
I feel a bit stupid for asking such a “basic” question, and hopefully it’s not the wrong place to ask.
It would be really nice if someone could explain this to me 🙂