Skip to content
This repository was archived by the owner on Apr 25, 2025. It is now read-only.

Commit 3eea656

Browse files
committed
Spec zero byte
1 parent b9c2686 commit 3eea656

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

document/core/binary/modules.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,13 +213,14 @@ It decodes into a vector of :ref:`tables <syntax-table>` that represent the |MTA
213213
\X{tt}{:}\Btabletype
214214
&\Rightarrow& \{ \TTYPE~\X{tt}, \TINIT~(\REFNULL~\X{ht}) \}
215215
\qquad \iff \X{tt} = \limits~(\REF~\NULL^?~\X{ht}) \\
216-
\hex{40}~~\X{tt}{:}\Btabletype~~e{:}\Bexpr
216+
\hex{40}~~\hex{00}~~\X{tt}{:}\Btabletype~~e{:}\Bexpr
217217
&\Rightarrow& \{ \TTYPE~\X{tt}, \TINIT~e \} \\
218218
\end{array}
219219
220220
.. note::
221221
The encoding of a table type cannot start with byte :math:`\hex{40}`,
222222
hence decoding is unambiguous.
223+
The zero byte following it is reserved for futre extensions.
223224

224225

225226
.. index:: ! memory section, memory, memory type

0 commit comments

Comments
 (0)