Skip to content
Discussion options

You must be logged in to vote

Hello,
No code example yet, but simply call Model.Save() and Model.Load() methods to load save from streams, should look like something like this .net pseodo code:

//for saving
using(var fl = System.IO.File.OpenWrite(@"c:\temp.bin"))
    myModel.Save(fl);

//for loading
using(var fl = System.IO.File.OpenRead(@"c:\temp.bin"))
    myModel =  Model.Load(fl);

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@Torabi
Comment options

@epsi1on
Comment options

Answer selected by epsi1on
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants