From 8fbe76d64e7d55eb41943484602b928658313a65 Mon Sep 17 00:00:00 2001
From: Sverker Eriksson
Date: Tue, 11 Mar 2014 12:23:06 +0100
Subject: erts: Document external format for maps (MAP_EXT)
---
erts/doc/src/erl_ext_dist.xml | 32 +++++++++++++++++++++++++++++++-
1 file changed, 31 insertions(+), 1 deletion(-)
(limited to 'erts/doc/src')
diff --git a/erts/doc/src/erl_ext_dist.xml b/erts/doc/src/erl_ext_dist.xml
index f91ed78122..9a53f3f829 100644
--- a/erts/doc/src/erl_ext_dist.xml
+++ b/erts/doc/src/erl_ext_dist.xml
@@ -5,7 +5,7 @@
2007
- 2013
+ 2014
Ericsson AB, All Rights Reserved
@@ -572,6 +572,36 @@
+
+
+ MAP_EXT
+
+
+
+ 1 |
+ 4 |
+ N |
+ M |
+
+
+ 116 |
+ Arity |
+ Keys |
+ Values |
+
+
+
+ MAP_EXT encodes a map. The Arity field is an unsigned
+ 4 byte integer in big endian format that determines the number of
+ key-value pairs in the map. All key terms follow in the Keys
+ section and then all value terms in the Values section. Keys
+ and values are paired according to order; first key with first value
+ and so on. Duplicate keys are not allowed within the same
+ map.
+
+ Since: OTP 17.0
+
+