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
402 B
18 lines
402 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(IAsyncBinaryWriter writer);
|
|
|
|
Task DeserializeAsync(IAsyncBinaryReader reader);
|
|
}
|
|
} |