Enum SaveFormat
- Namespace
- KeenEyes.Serialization
- Assembly
- KeenEyes.Core.dll
Specifies the serialization format used for save files.
public enum SaveFormat
Fields
Binary = 0Binary format using ToBinary<TSerializer>(WorldSnapshot, TSerializer).
Binary format provides significant benefits:
- 50-80% smaller than JSON
- Faster serialization/deserialization
- No string parsing overhead
This is the recommended format for production applications.
Json = 1JSON format using ToJson(WorldSnapshot).
JSON format is human-readable and useful for:
- Debugging save file contents
- Manual editing of save data
- Integration with external tools
Note: JSON format results in larger file sizes and slower operations.