0
0
Fork 0
mirror of https://github.com/Sanae6/SmoOnlineServer.git synced 2024-11-13 23:25:06 +00:00
SmoOnlineServer/Shared/Packet/Packets/IPacket.cs
2022-02-04 03:45:38 -06:00

9 lines
No EOL
225 B
C#

using System.Runtime.InteropServices;
namespace Shared.Packet.Packets;
// Packet interface for type safety
public interface IPacket {
void Serialize(Span<byte> data);
void Deserialize(Span<byte> data);
}