I see the RoaringFormatSpec Readme[1] file saying - "All words are
written using little endian encoding.".
But when I look into the `ra_portable_serialize()`[2] function, it
seems to me like words are not written using little endian encoding.
Instead the endianness of these written words are dependent on the
machine's endianness.
For example, in the below code (line no. 573 [3]), `cookie` variable
is not converted into little endian format explicitly. So, in a Big
endian system it would likely be stored in big endian.
uint32_t cookie = SERIAL_COOKIE | ((ra->size - 1) << 16);
memcpy(buf, &cookie, sizeof(cookie));
Am I missing something?