aboutsummaryrefslogtreecommitdiff
path: root/BinaryEncoding.md
diff options
context:
space:
mode:
authorMichael Bebenita <mbebenita@gmail.com>2016-02-27 10:01:37 -0800
committerMichael Bebenita <mbebenita@gmail.com>2016-02-27 10:01:37 -0800
commitd6898abafa98ff889454cfb11725d9ec3c9536b5 (patch)
tree96f41056139d5f1485254f0e0e1264b2b004ff18 /BinaryEncoding.md
parent926977694b3cd294c6c8e5f3aac763b71ace55af (diff)
downloadnanowasm-design-d6898abafa98ff889454cfb11725d9ec3c9536b5.tar.gz
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: