nanopbencode-protobufdecode

18 views
Skip to first unread message

Gurpal Singh

unread,
Nov 28, 2023, 8:19:49 AM11/28/23
to nanopb
Hi,
I am wondering if i can encode a message using nanopb C implementation and then decode it using google's protobuf implementation without data loss?

Petteri Aimonen

unread,
Nov 28, 2023, 11:54:01 AM11/28/23
to nan...@googlegroups.com
Hi,

> I am wondering if i can encode a message using nanopb C implementation and
> then decode it using google's protobuf implementation without data loss?

Sure, that's the whole point of the protobuf format - to be compatible between
different languages.

--
Petteri
Reply all
Reply to author
Forward
0 new messages