Skip to content

Commit

Permalink
Merge pull request #39 from MaskyS/patch-1
Browse files Browse the repository at this point in the history
Updated spec.md to correct some errors
  • Loading branch information
mcuadros authored Jan 28, 2019
2 parents 36b4509 + add0b27 commit 0c04605
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions SPEC.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,14 @@ Each index entry has the following fields:
* Modification time as UNIX time in nanoseconds (int64).
* Offset of the file content, relative to the beginning of the block (uint64).
* Size of the file content (uint64).
* CRC32 (uint32) (Integrity of the file content this entry point to).
* CRC32 (uint32) (Integrity of the file content this entry points to).
* Flags (uint32), supported flags: 0x0 (no flags), 0x1 (deleted).

The index footer consists of:

* Number of entries in the block (uint32).
* Index size in bytes (uint64).
* Block sie in bytes (uint64).
* Block size in bytes (uint64).
* CRC32 (uint32) (Integrity of: Signature + Version + Entries).

All integers are encoded as big endian.
Expand Down

0 comments on commit 0c04605

Please sign in to comment.