public static T DeserializeFromStream <T>(Stream xiStream) { return(SerializerFactory.GetSerializer <T>(xiStream).Deserialize()); }
public static void SerializeToStream <T>(Stream xiStream, T xiObject) { SerializerFactory.GetSerializer <T>(xiStream).Serialize(xiObject); }