using XGame.Framework.Network.Protobuf; namespace XGame.Framework.Network { public interface IMsgParser { void WriteTo(CodedOutputStream output); void MergeFrom(CodedInputStream input); int CalculateSize(); void Clear(); } // public interface IMsgParser : IMsgParser where T : IMsgParser // { // // } }