]> git.seodisparate.com - SimpleArchiver/commitdiff
Minor tweaks to file format
authorStephen Seo <seo.disparate@gmail.com>
Mon, 15 Jul 2024 06:43:14 +0000 (15:43 +0900)
committerStephen Seo <seo.disparate@gmail.com>
Mon, 15 Jul 2024 06:43:14 +0000 (15:43 +0900)
file_format.md

index 83ffa9ec6e196d0169594444eacce95c80595990..4bf944f3a9f335b54594b1a07c06d2bb8ec3afc3 100644 (file)
@@ -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).