mirror of https://github.com/ogoun/Zero.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
392 B
18 lines
392 B
using System.Threading.Tasks;
|
|
|
|
namespace ZeroLevel.Services.Serialization
|
|
{
|
|
public interface IBinarySerializable
|
|
{
|
|
void Serialize(IBinaryWriter writer);
|
|
|
|
void Deserialize(IBinaryReader reader);
|
|
}
|
|
|
|
public interface IAsyncBinarySerializable
|
|
{
|
|
Task SerializeAsync(IBinaryWriter writer);
|
|
|
|
Task DeserializeAsync(IBinaryReader reader);
|
|
}
|
|
} |