Boost logo

Boost Users :

From: Robert Ramey (ramey_at_[hidden])
Date: 2007-02-10 16:35:09


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 <ramey_at_[hidden]> wrote:
>>> On 2/9/07, Michael Marcin <mmarcin_at_[hidden]> 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.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net