Best way to save/load an object to file?

Bill Baxter dnewsgroup at billbaxter.com
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:
http://team0xf.com:8080/xf/file/34c9c0ffde3a/xpose/Serialization.d

Entire source included in xf, which you can get using hg:
hg clone http://team0xf.com:8080/xf

--bb


More information about the Digitalmars-d-learn mailing list