Files
unity-save-system/Runtime/ISaveSerializer.cs
Sebastian Bularca b5d13e86d9 copy from github
2026-03-27 15:14:08 +01:00

11 lines
326 B
C#

namespace Jovian.SaveSystem {
/// <summary>
/// Converts typed data to and from byte arrays.
/// Implementations define the format (JSON, binary, etc.).
/// </summary>
public interface ISaveSerializer {
byte[] Serialize<TData>(TData data);
TData Deserialize<TData>(byte[] payload);
}
}