mirror of
https://github.com/Sanae6/SmoOnlineServer.git
synced 2024-11-16 16:35:11 +00:00
534a6c9655
speedrun flag
8 lines
No EOL
216 B
C#
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);
|
|
} |