
10 Feb
2007
10 Feb
'07
7:59 p.m.
On 2/10/07, Robert Ramey
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.