using JetBrains.Annotations; namespace Wonderking.Packets; [UsedImplicitly(ImplicitUseTargetFlags.WithInheritors)] public interface IPacket { public void Deserialize(byte[] data); public byte[] Serialize(); }