Check out the SerializationTraits generic class, and its specialization for
protobuf in proto_utils.h - there is also a generic serializer that only
takes a byte buffer of you prefer that route.

On Jul 13, 2017 11:50, "Vivek M" <[email protected]> wrote:

> Hi,
>
> I have a gRPC streaming RPC based on C++ stack which has to stream the
> protobuf messages as such as received from various sources. Now I observe
> that the stack takes a C++ object and then encodes that into protobuf
> message. I want to skip this operation and I am looking for a provision
> wherein the stack provides an interface to take protobuf message itself as
> its input.
>
> Any help or pointers is much appreciated.
>
> Thanks,
> Vivek
>
> --
> You received this message because you are subscribed to the Google Groups "
> grpc.io" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/grpc-io.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/grpc-io/100f68f3-2ac2-47ba-af90-a9a24de43926%40googlegroups.com
> <https://groups.google.com/d/msgid/grpc-io/100f68f3-2ac2-47ba-af90-a9a24de43926%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/grpc-io.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/CAEvr0PH1QdmQT-KS5Os0npDqN1wGUpzW_GpwqZJM%3DoTp3AYWJQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to