public IPooledBuffer Serialize(IInvocationStarting message)
 {
     using (var proto = InvocationStarting.Rent())
     {
         return(proto.Serialize());
     }
 }
 public IInvocationStarting DeserializeInvocationStarting(IPooledBuffer message)
 {
     using (var proto = InvocationStarting.Rent())
     {
         proto.MergeFrom(message);
         return(_messageFactory.CreateInvocationStarting());
     }
 }