Intro
I want to program a parser on Windows in C++ that parses a binary file. It is a star catalog that stores the data in its own binary format (see http://tdc-www.harvard.edu/catalogs/bsc5.html).
Various binary files are made available, each with the following information:
- Sun/Mac byte order
- Sun/Alpha byte order
- PC byte order
Problem
I know the difference between big and little endian, but the terms Sun/Mac, Sun/Alpha and PC byte order mean nothing to me. How can an already with bytes filled file have an PC byte order? What is PC (my current PC or Mac or IBM etc.) and what byte order should I proceed with?