INetProtocolProvider.cs 210 B

123456789101112
  1. using IFramework.Packets;
  2. namespace IFramework.Net
  3. {
  4. public interface INetProtocolProvider
  5. {
  6. Packet Decode(byte[] buffer, int offset, int size);
  7. byte[] Encode(Packet pkg);
  8. }
  9. }