123456789101112131415 |
- using System.IO;
- namespace COM3D2.MeidoPhotoStudio.Plugin
- {
- public abstract class SimpleSerializer<T> : ISimpleSerializer
- {
- void ISimpleSerializer.Serialize(object obj, BinaryWriter writer) => Serialize((T) obj, writer);
- object ISimpleSerializer.Deserialize(BinaryReader reader, SceneMetadata metadata)
- => Deserialize(reader, metadata);
- public abstract void Serialize(T obj, BinaryWriter writer);
- public abstract T Deserialize(BinaryReader reader, SceneMetadata metadata);
- }
- }
|