By the way, I'm trying all this on Intel. What platform are you trying on? There may be a subtle endianness issue, or data type size, or something fun like that... Rob