Hi Yosa, The encoding is described here: https://developers.google.com/protocol-buffers/docs/proto3#backwards-compatibility Essentially, it is the same as a repeated field of a message with key field and a value field.
On Wed, Dec 4, 2019 at 7:14 AM Yosa Rem <[email protected]> wrote: > Where can I see how protobuf encode map? I saw how base types encoding, > but can't find how to encode maps. > > -- > You received this message because you are subscribed to the Google Groups > "Protocol Buffers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/protobuf/148ed753-c52d-4cab-a76a-45fbf9b8c9ea%40googlegroups.com > <https://groups.google.com/d/msgid/protobuf/148ed753-c52d-4cab-a76a-45fbf9b8c9ea%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- -Nadav -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/protobuf/CANZcNErVOAeFsLmYx_Bcdp3_54P5Gb4btv%2BMtQ%2B61w2bLJBn_w%40mail.gmail.com.
