0
0
Fork 0
mirror of https://github.com/Sanae6/SmoOnlineServer.git synced 2024-11-29 06:33:06 +00:00
SmoOnlineServer/Shared/Packet/Packets/IPacket.cs

8 lines
216 B
C#
Raw Normal View History

2022-02-10 01:44:50 +00:00
namespace Shared.Packet.Packets;
2022-02-04 09:45:38 +00:00
// Packet interface for type safety
public interface IPacket {
short Size { get; }
2022-02-04 09:45:38 +00:00
void Serialize(Span<byte> data);
void Deserialize(ReadOnlySpan<byte> data);
2021-11-29 04:04:34 +00:00
}