An external group provides me with a file written on a Big Endian machine, and they also provide a C++ parser for the file format.
I only can run the parser on a lit
the best approach is to just define the endianess in the file format, and not say it's machine dependent. the writer will have to write the bytes in the correct order regardless of the CPU it's running on, and the reader will have to do the same.