0
0
Fork 0
mirror of https://github.com/Sanae6/SmoOnlineServer.git synced 2024-11-18 09:15:13 +00:00
SmoOnlineServer/Shared/Packet/Packets/IPacket.cs
2022-04-03 22:29:34 -06:00

8 lines
No EOL
216 B
C#

namespace Shared.Packet.Packets;
// Packet interface for type safety
public interface IPacket {
short Size { get; }
void Serialize(Span<byte> data);
void Deserialize(ReadOnlySpan<byte> data);
}