I'm converting integers from 8-byte big endian to 8-byte little endian. Moving the bytes around is trivial to fix the endianness, but I can't seem to put my hands on a cross-platform data type for a 64 bit integer, and formatting routines to turn them into readable output.

Cross platform = Mac & Windows primarily - Linux would be good too.

Any advice?

Todd