ISerializer.md
March 19, 2022 · View on GitHub
DefaultEcs
DefaultEcs.Serialization
ISerializer Interface
Provides a set of methods to save and load DefaultEcs objects.
public interface ISerializer
Derived
↳ BinarySerializer
↳ TextSerializer
| Methods | |
|---|---|
| Deserialize(Stream) | Deserializes a World instance from the given System.IO.Stream. |
| Deserialize(Stream, World) | Deserializes Entity instances with their components from the given System.IO.Stream into the given World. |
| Serialize(Stream, World) | Serializes the given World into the provided System.IO.Stream. |
| Serialize(Stream, IEnumerable<Entity>) | Serializes the given Entity instances with their components into the provided System.IO.Stream. |