aboutsummaryrefslogtreecommitdiff
path: root/BinaryEncoding.md
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi92@disroot.org>2025-11-04 20:54:32 +0100
committerXavier Del Campo Romero <xavi92@disroot.org>2025-11-04 20:57:52 +0100
commit4d20d6ef455f167dadcac899fcfe49b97c228325 (patch)
tree02dceeba53a90d9f095d9ab598a0e5784c81eab7 /BinaryEncoding.md
parente8f0f3cd54c4142a0463659d12f1667bc35e7ace (diff)
downloadnanowasm-design-4d20d6ef455f167dadcac899fcfe49b97c228325.tar.gz
BinaryEncoding.md: Fix typo
Diffstat (limited to 'BinaryEncoding.md')
-rw-r--r--BinaryEncoding.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/BinaryEncoding.md b/BinaryEncoding.md
index 91f1094..2f23e89 100644
--- a/BinaryEncoding.md
+++ b/BinaryEncoding.md
@@ -554,7 +554,7 @@ Custom section `name` field: `"nw_fti"`
The NanoWasm function type index section is a
[custom section](#high-level-structure). It is therefore encoded with id `0`
-followed by the name string `"nw_ft"`. It is meant as a
+followed by the name string `"nw_fti"`. It is meant as a
[NanoWasm](#NanoWasm.md) extension to the MVP that allows NanoWasm-compatible
interpreters to quickly retrieve the type index of a function, without having
to read the [function section](#function-section) or keep this information
@@ -562,7 +562,7 @@ in-memory.
| Field | Type | Description |
| ----- | ---- | ----------- |
-| offset | uint32* | Type index, as expressed by the [function section](#function-section), encoded as little-endian
+| index | uint32* | Type index, as expressed by the [function section](#function-section), encoded as little-endian
### NanoWasm function body offset section