mirror of
https://github.com/Sanae6/SmoOnlineServer.git
synced 2024-12-01 07:33:07 +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);
|
|
} |