diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-05-16 14:56:20 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-09-04 14:54:00 +0000 |
commit | c1fa4a7f8c6d30442815b095f92d1c8fb66936f3 (patch) | |
tree | 99210425bb63d69a990fba62663f57e99f83c77e /translations/monero_ru.ts | |
parent | slow-hash: fix CNv2+ on big endian (diff) | |
download | monero-c1fa4a7f8c6d30442815b095f92d1c8fb66936f3.tar.xz |
boost: fix little/big endian compatibility
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.
Diffstat (limited to 'translations/monero_ru.ts')
0 files changed, 0 insertions, 0 deletions