From 6941af88ad016141f568279f065cb181074f1f9f Mon Sep 17 00:00:00 2001
From: Sverker Eriksson
This function encodes a map header, with a specified arity. The next
+
E.g. to encode the map
+ei_x_encode_map_header(&x, 2); +ei_x_encode_atom(&x, "a"); +ei_x_encode_atom(&x, "b"); +ei_x_encode_string(&x, "Apple"); +ei_x_encode_string(&x, "Banana"); ++
A correctly encoded map can not have duplicate keys, but no check + for duplicate keys is done by this function.
+This function decodes a map header from the binary
+ format. The number of key-value pairs is returned in
+