mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-09-16 15:22:27 +02:00
15 lines
344 B
C#
15 lines
344 B
C#
using System;
|
|
using System.IO;
|
|
|
|
namespace Robust.Shared.Interfaces.Serialization
|
|
{
|
|
public interface IRobustSerializer
|
|
{
|
|
void Initialize();
|
|
void Serialize(Stream stream, object toSerialize);
|
|
T Deserialize<T>(Stream stream);
|
|
object Deserialize(Stream stream);
|
|
bool CanSerialize(Type type);
|
|
}
|
|
}
|