Ah, I wrap all my read commands with endian controls and avoid low level memory stuff even when I'm designing for 1 platform because A). I'll screw it up BAD if I don't and B). it's nice to have it mostly portable even if you never want to port it for that off chance that you change your mind later. (wtf was I thinking?! moments are annoying)
Hope you managed to squash those bugs!
Hope you managed to squash those bugs!