30/07/2009 14:44

Added Serialize/Deserialize function for choose type of file

public void Serialize(Stream st, Type type, object obj, int format_type)
if (format_type == 0)
XmlSerializer xs = new XmlSerializer(type);
xs.Serialize(st, obj);
BinaryFormatter bf = new BinaryFormatter();
bf.Serialize(st, obj);



We have problems, i started to build square engine editor (http://see.codeplex.com) but I've found problems loading Binary Format's file form another application. I need to rewrite Serialization of files... shit.

Last edited Jul 30, 2009 at 1:46 PM by squidleon, version 3


No comments yet.