aboutsummaryrefslogtreecommitdiff
path: root/BinaryEncoding.md
diff options
context:
space:
mode:
authorJF Bastien <github@jfbastien.com>2016-02-27 11:48:14 -0800
committerJF Bastien <github@jfbastien.com>2016-02-27 11:48:14 -0800
commitd198d6bfff4c267b573a6f00efda9f51a96d9d38 (patch)
tree96f41056139d5f1485254f0e0e1264b2b004ff18 /BinaryEncoding.md
parent926977694b3cd294c6c8e5f3aac763b71ace55af (diff)
parentd6898abafa98ff889454cfb11725d9ec3c9536b5 (diff)
downloadnanowasm-design-d198d6bfff4c267b573a6f00efda9f51a96d9d38.tar.gz
Merge pull request #562 from mbebenita/mbebenita-varuint32
Clarify encoding of varuint32 values.
Diffstat (limited to 'BinaryEncoding.md')
-rw-r--r--BinaryEncoding.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/BinaryEncoding.md b/BinaryEncoding.md
index 811e264..b0987fb 100644
--- a/BinaryEncoding.md
+++ b/BinaryEncoding.md
@@ -39,7 +39,7 @@ A two-byte little endian unsigned integer.
A four-byte little endian unsigned integer.
### varuint32
-A [LEB128](https://en.wikipedia.org/wiki/LEB128) variable-length integer, limited to uint32 values.
+A [LEB128](https://en.wikipedia.org/wiki/LEB128) variable-length integer, limited to uint32 values. `varuint32` values may contain leading zeros.
### value_type
A single-byte unsigned integer indicating a [value type](AstSemantics.md#types). These types are encoded as: