Boost logo

Boost Users :

Subject: [Boost-users] [serialization] Seek in a binary archive
From: Damien R (damien.rg_at_[hidden])
Date: 2010-03-22 11:24:43


Hi,

I save fixed size objects in a binary archive and when I load the binary
archive, I try to seek at a specific position.
To do that I call istream.seekg() but the problem is that
boost::serialization get the rdbuf of the input stream, so the seek does
not work.

I would like to know whether I have to create a class like
basic_binary_iprimitive or whether there is a better alternative.

Thanks,


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