Thank you for the answers, i'll use binary type then.

2013/10/3 Ben Craig <[email protected]>

> > Hi.
> >
> > I need to (de)serializing a buffer containing binary data, particularly
> > between C++ (sender/receiver) and Python (receiver) applications. What
> data
> > type should i use in a .proto file?
>
> In C++, strings (de)serialize orders of magnitude faster than vectors.
> Vectors are generally (de)serialized one element at a time, where strings
> are (de)serialized with a memcpy.
>
>

Reply via email to