Processor manufacturers present us with two major ways of storing a multi-byte integer into memory. Little endians list the bytes from the least significant to the most signifact. The big endians, in contrast, list the bytes from the most signifact to the least significant.
When data is stored into files using a direct binary representation, the storage order must be chosen as well. Therefore, when loading from or saving to files, we are presented with two practical problems:
Pastel provides functions for both of these tasks.