The binary STL format expects values to be stored little endian. On a little endian intel machine, this happens implicitly on fwrite(). However, not all systems are little endian. The lib should do the right thing (swapping bytes if necessary) for the host system. Include tests.
The binary STL format expects values to be stored little endian. On a little endian intel machine, this happens implicitly on fwrite(). However, not all systems are little endian. The lib should do the right thing (swapping bytes if necessary) for the host system. Include tests.