Best way to save/load an object to file?

Bill Baxter dnewsgroup at
Thu Jun 26 19:00:21 PDT 2008

Saaa wrote:
> As the subject says  : )
> I could make my own personal loading saving functions of all the specific 
> variables in the objects, but I'd love there to be an easier way than that.

In addition to doost.util.serializer, which has been mentioned,
h3r3tic has pointed out to me that team0xf has a library called xpose 
which does serialization to and from a binary format.

Can be found here:

Entire source included in xf, which you can get using hg:
hg clone


More information about the Digitalmars-d-learn mailing list