Boost logo

Boost :

From: Robert Ramey (ramey_at_[hidden])
Date: 2003-10-30 12:50:46


Vladimir Prus wrote:

>do binary streams have any kinds of signature at the beginning? When I send
>just empty vector<int> to a binary stream, I get file with 5 zeros, and I'm
>not sure what is it.

They do have a header that can be suppressed. I believe the draft #12 may
be broken here - try the next one.

>I'm asking because I just had a strange error: serialization lib asserted in
>some place. It turned out that I was reading from an incorrect position in a
>stream. If there were a signature and iarchive checked for this signature,
>the bug would be diagnosed much faster.

>What do you think?

I've thought about this and have some ideas but they are much lower
priority than other stuff

Robert Ramey


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk