On 27/12/2009 20:29, Mike James wrote: > It would be great to have an easy means of accessing bytes in an int or short without having to resort to messy unions. Don't do that. It's undefined behaviour. Yes, I've been bitten by it.