From cb79e4e45cd4e396a7295b7f036ee662db0b71c7 Mon Sep 17 00:00:00 2001 From: Stephen Seo Date: Mon, 15 Jul 2024 15:43:14 +0900 Subject: [PATCH] Minor tweaks to file format --- file_format.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/file_format.md b/file_format.md index 83ffa9e..4bf944f 100644 --- a/file_format.md +++ b/file_format.md @@ -1,5 +1,7 @@ # File Format +Note that any unused bytes/bits should be zeroed-out before being written. + ## Format Version 0 File extension is "*.simplearchive" @@ -61,5 +63,6 @@ Following the file-count bytes, the following bytes are added for each file: Is a NULL-terminated string. If the previous "size" value is 0, then this entry does not exist and should be skipped. 5. If this file is NOT a symbolic link: - 1. 8 bytes 64-bit unsigned integer "size of filename in this archive file". + 1. 8 bytes 64-bit unsigned integer "size of filename in this archive file" + in big-endian. 2. X bytes file data (length defined by previous value).