This commit is contained in:
richmans 2023-07-03 21:57:53 +02:00
parent 0553d9d6cc
commit 6537db3c03

View File

@ -39,6 +39,12 @@ type may be a class or a string containing the name of a class. The type should
# file format # file format
Until specified otherwise, all numbers are stored low-endian 64bit unsigned. Until specified otherwise, all numbers are stored low-endian 64bit unsigned.
the file format is a header followed by a number of blocks. the size and number of blocks are dictated by the header. the file format is a header followed by a number of blocks. the size and number of blocks are dictated by the header:
* Magic
* Blocksize in bytes
* Number of blocks
* Root file
* Free file
A block is prefixed by a pointer to the next block of that file. In the last block of the file, the pointer is 0. So if you have 1000 byte blocks, each block takes 1008 bytes of space.