aboutsummaryrefslogtreecommitdiff
path: root/BinaryEncoding.md
diff options
context:
space:
mode:
authorDouglas Crosher <info@jsstats.com>2016-02-28 16:13:08 +1100
committerDouglas Crosher <info@jsstats.com>2016-02-28 16:13:08 +1100
commit14952154322a6508cfc2a8eb1942df9a117d8e0e (patch)
tree7a9e26315fdb3a3585db0c70438562c5a1abe8b0 /BinaryEncoding.md
parent5c49b34d3562ec32228177fb71f17a85e583a60b (diff)
downloadnanowasm-design-14952154322a6508cfc2a8eb1942df9a117d8e0e.tar.gz
Note that the version number will be reset to 1 for MVP.
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 33ca33d..acf874b 100644
--- a/BinaryEncoding.md
+++ b/BinaryEncoding.md
@@ -79,7 +79,7 @@ The module starts with a magic number and version as follows.
| Field | Type | Description |
| ----- | ----- | ----- |
| magic number | `uint32 0x6d736100` | Magic number '\0asm' |
-| version | `uint32 0xa` | Version 10 |
+| version | `uint32` | Version number, currently 10. The version for MVP will be reset to 1. |
This is followed by a sequence of sections. Sections can in general be repeated, but some can occur only once or have dependant sections that must preceed them but not immediately as unknown sections can occur in any order. Each section is identified by an immediate string. Sections whose identity is unknown to the WebAssembly implementation are ignored and this is supported by including the size in bytes for all sections. The encoding of all sections begins as follows: