From c55d7e80d2b18b8592e827f72a6bc0e4f3150142 Mon Sep 17 00:00:00 2001 From: SpyderTL Date: Thu, 22 Feb 2024 15:47:06 -0600 Subject: Update BinaryEncoding.md (#1199) Clarify description of function_body length field. --- BinaryEncoding.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'BinaryEncoding.md') 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 | -- cgit v1.2.3