I have 3 small ints (under 255) which can, therefore, be represented by a single byte.
I would like to create a larger int from that 3 bytes sequence.
For example, if those 3 ints where 1, 2 and 3, I would have:
00000001, 00000010 and 00000011
I then would like to get the int corresponding to:
000000010000001000000011, which according to a calculator would be the integer 66051 when converted to a decimal.
How can I go from 3 small ints to that final larger int in Python?