SmoOnlineServer/Shared/Packet/Packets/IPacket.cs

9 lines
225 B
C#
Raw Normal View History

2022-02-04 09:45:38 +00:00
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);
2021-11-29 04:04:34 +00:00
}