I\'m trying to convert 4 bytes into a 32 bit unsigned integer.
I thought maybe something like:
UInt32 combined = (UInt32)((map[i] << 32) | (map
Your shifts are all off by 8. Shift by 24, 16, 8, and 0.