From: Stephen Seo Date: Mon, 15 Jul 2024 06:43:14 +0000 (+0900) Subject: Minor tweaks to file format X-Git-Tag: 1.0~76 X-Git-Url: https://git.seodisparate.com/gitweb?a=commitdiff_plain;h=cb79e4e45cd4e396a7295b7f036ee662db0b71c7;p=SimpleArchiver Minor tweaks to file format --- 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).