Hi all,
Is it ok if the serialization is made using libprotobuf library and
the deserialization (on the other end) is made using code built with
libprotobuf-lite library ? That meaning 2 .proto files (the only
difference bw those two file is that one contains 'option optimize_for
= LITE_RUNTIME')
Yes -- the serialized format is identical.
On Tue, Oct 26, 2010 at 2:56 PM, Alsmom2005 gundanu...@gmail.com wrote:
Hi all,
Is it ok if the serialization is made using libprotobuf library and
the deserialization (on the other end) is made using code built with
libprotobuf-lite library ? That
Instead of maintaining two identical files, I suggest writing a build rule
that just constructs the lite version from the regular version. You could
use a make rule like:
my_lite.proto: my.proto
cp my.proto my_lite.proto
echo option optimize_for = LITE_RUNTIME; my_lite.proto
This way the