a
This commit is contained in:
parent
0553d9d6cc
commit
6537db3c03
8
store.md
8
store.md
@ -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.
|
Loading…
Reference in New Issue
Block a user