
The library includes a demo/example - portable archive which does handle differences and and endian-ness - EXCEPT for floats/doubles. Finishing this wouldn't be tooooo hard, but no one has had sufficient interest to do this. Robert Ramey me22 wrote:
On 2/10/07, Robert Ramey
wrote: On 2/9/07, Michael Marcin
wrote: I commonly need to write and read binary data from files. The streams in the standard library are very tedious to use for such tasks. I'd like to be able to construct a stream thats loads a little endian binary data file and use it to write/read data with the insertion/extraction operators on big endian or little endian systems.
Hmmm - sounds to me like you want the serialization library.
In my recollection, the binary archives in Boost.Serialization don't handle type size differences or endianness.