public IMethodDiscoveryResponse DeserializeMethodDiscoveryResponse(IPooledBuffer message) { using (var proto = MethodDiscoveryResponse.Rent()) { proto.MergeFrom(message); return(_messageFactory.CreateMethodDiscoveryResponse(proto.Methods.Select(ConvertFromProto).ToList())); } }