Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 1.96 KB

ISerializer.md

File metadata and controls

21 lines (16 loc) · 1.96 KB

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.