How protobuf3 encode maps?

32 views
Skip to first unread message

Yosa Rem

unread,
Dec 4, 2019, 10:14:52 AM12/4/19
to Protocol Buffers
Where can I see how protobuf encode map? I saw how base types encoding, but can't find how to encode maps. 

Nadav Samet

unread,
Dec 4, 2019, 12:18:36 PM12/4/19
to Yosa Rem, Protocol Buffers
Hi Yosa,

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 <ilya.s...@gmail.com> 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 protobuf+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/protobuf/148ed753-c52d-4cab-a76a-45fbf9b8c9ea%40googlegroups.com.


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