ISerializer.cs 256 B

12345678910
  1. 
  2. namespace XGame.Framework.Network
  3. {
  4. public interface ISerializer
  5. {
  6. void Write(IMessage msg, out byte[] bytes, out int offset, out int size);
  7. void Read(byte[] bytes, int offset, int size, int protoId, out IMessage msg);
  8. }
  9. }