public IPooledBuffer Serialize(IInvocationStarted message) { using (var proto = InvocationStarted.Rent()) { return(proto.Serialize()); } }
public IInvocationStarted DeserializeInvocationStarted(IPooledBuffer message) { using (var proto = InvocationStarted.Rent()) { proto.MergeFrom(message); return(_messageFactory.CreateInvocationStarted()); } }