aboutsummaryrefslogtreecommitdiff
path: root/BinaryEncoding.md
diff options
context:
space:
mode:
authorSpyderTL <j_bair@bellsouth.net>2024-02-22 15:47:06 -0600
committerGitHub <noreply@github.com>2024-02-22 13:47:06 -0800
commitc55d7e80d2b18b8592e827f72a6bc0e4f3150142 (patch)
tree67f9c38293f2e7ee5e9a6967613870d2aac6fc4d /BinaryEncoding.md
parent1319968ca53fb5c7e7ea6cc210c7b0ed46566a45 (diff)
downloadnanowasm-design-c55d7e80d2b18b8592e827f72a6bc0e4f3150142.tar.gz
Update BinaryEncoding.md (#1199)
Clarify description of function_body length field.
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 6edacc8..2677b35 100644
--- a/BinaryEncoding.md
+++ b/BinaryEncoding.md
@@ -541,7 +541,7 @@ by the tables below. Each function body must end with the `end` opcode.
| Field | Type | Description |
| ----- | ---- | ----------- |
-| body_size | `varuint32` | size of function body to follow, in bytes |
+| body_size | `varuint32` | size of function body to follow, in bytes, including local fields |
| local_count | `varuint32` | number of local entries |
| locals | `local_entry*` | local variables |
| code | `byte*` | bytecode of the function |