Skip to content

Commit

Permalink
add docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Tan-JiaLiang committed Dec 4, 2024
1 parent 2b9f89c commit 7acbf19
Showing 1 changed file with 26 additions and 2 deletions.
28 changes: 26 additions & 2 deletions docs/content/concepts/spec/fileindex.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,11 +154,35 @@ BSI file index format (V1)
+-------------------------------------------------+
| has positive value (1 byte) |
+-------------------------------------------------+
| positive bsi serialized (if has positive value)|
| positive BSI serialized (if has positive value)|
+-------------------------------------------------+
| has negative value (1 byte) |
+-------------------------------------------------+
| negative bsi serialized (if has negative value)|
| negative BSI serialized (if has negative value)|
+-------------------------------------------------+
</pre>

BSI serialized format (V1):
<pre>
BSI serialized format (V1)
+-------------------------------------------------+
| version (1 byte) |
+-------------------------------------------------+
| min value (8 bytes long) |
+-------------------------------------------------+
| max value (8 bytes long) |
+-------------------------------------------------+
| serialized existence bitmap |
+-------------------------------------------------+
| bit slice bitmap count (4 bytes int) |
+-------------------------------------------------+
| serialized bit 0 bitmap |
+-------------------------------------------------+
| serialized bit 1 bitmap |
+-------------------------------------------------+
| serialized bit 2 bitmap |
+-------------------------------------------------+
| ... |
+-------------------------------------------------+
</pre>

Expand Down

0 comments on commit 7acbf19

Please sign in to comment.