Skip to content

Commit

Permalink
bitmap-format.txt: add information for trailing checksum
Browse files Browse the repository at this point in the history
Bitmap file has a trailing checksum at the end of the file. However
there is no information in the bitmap-format documentation about it.

Add a trailer section to include the trailing checksum info in the
`Documentation/technical/bitmap-format.txt` file.

Signed-off-by: Abhradeep Chakraborty <chakrabortyabhradeep79@gmail.com>
  • Loading branch information
Abhra303 committed Jun 7, 2022
1 parent cb91951 commit 2171d31
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Documentation/technical/bitmap-format.txt
Expand Up @@ -125,6 +125,10 @@ MIDXs, both the bit-cache and rev-cache extensions are required.

** The compressed bitmap itself, see Appendix A.

* TRAILER:

Index checksum of the above contents. It is a 20-byte SHA1 checksum.

== Appendix A: Serialization format for an EWAH bitmap

Ewah bitmaps are serialized in the same protocol as the JAVAEWAH
Expand Down

0 comments on commit 2171d31

Please sign in to comment.