mirror of
https://github.com/monero-project/monero.git
synced 2024-11-18 10:01:02 +00:00
c1fa4a7f8c
When no little/big endian flag is given to the writer, it stores data in host endianness. When loading, if no flag is set, it also assumes host endianness. This works as long as the loading and writing are done on machines with the same endianness. We change this to default to little endian when saving. This will cause the loader to see the little endian flag, and swap endianness when loading on a big endian machine. Similarly, writing on a big endian machine will swap on save, and a little endian machine will load little endian data. |
||
---|---|---|
.. | ||
archive |