Bitshifting bytes to form a long var fails!

dhenry:
I was thinking about an approach that fits the following:

Why don't you tell us what the approach is, then? I don't get why you're being so enigmatic about it, if you do indeed have a viable solution in mind.