aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi92@disroot.org>2025-11-13 09:35:32 +0100
committerXavier Del Campo Romero <xavi92@disroot.org>2025-11-13 09:35:32 +0100
commit71675ecaf8a33b3ae3adee48b2f1e9fcfa5c8c1b (patch)
treedd518b788ed07c695dc635ec1e2e2c58671326ba
parentb075df4d95335cb70b66dd133522686a6c98209c (diff)
BinaryEncoding.c: Define nw_lo count as uint32
Otherwise, it would not be possible for engines to look up the offset with O(1) complexity because `count` would have a variable length.
-rw-r--r--BinaryEncoding.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/BinaryEncoding.md b/BinaryEncoding.md
index 8a6c9a8..bcb6b69 100644
--- a/BinaryEncoding.md
+++ b/BinaryEncoding.md
@@ -632,7 +632,7 @@ Where each non-imported function defines a `label_offset` entry as follows:
| Field | Type | Description |
| ----- | ---- | ----------- |
-| count | varuint32 | number of label entries |
+| count | `uint32` | number of label entries |
| offset | `label_entry*` | label entries |
where a `label_entry` is encoded as: