From 4c310f2c4e7e2560fa0225b0bb2cc7f4c8ab3dde Mon Sep 17 00:00:00 2001 From: Luke Wagner Date: Sat, 12 Mar 2016 15:12:54 -0600 Subject: Update size of smallest module --- BinaryEncoding.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'BinaryEncoding.md') diff --git a/BinaryEncoding.md b/BinaryEncoding.md index fdc2427..cac7fef 100644 --- a/BinaryEncoding.md +++ b/BinaryEncoding.md @@ -106,11 +106,12 @@ above): * [End](#end-section) section * [Names](#names-section) section -Known sections (from this list) may not appear out of order. +Thus, the shortest valid module is 13 bytes (`magic number`, `version`, +`size` = 4, `id_len` = 3, `id_str` = "end"). -The end of the last present section must coincide with the last byte of the -module. The shortest valid module is 8 bytes (`magic number`, `version`, -followed by zero sections). +Additionally, known sections (from the above list) may not appear out of order +and the end of the last present section must coincide with the last byte of the +module. ### Signatures section -- cgit v1.2.3