On Wed, 10 Oct 2007, Darren J Moffat wrote: > I believe I have one other question unanswered which is about the size of the > header/metadata. It wasn't clear to me from the case material how big the > header area is - though this is less architectural and more personal > interest/lower level design review.
So, here are the sizes of the various fields mentioned in materials/ondisk_format.png - Signature - strlen(name_of_algorithm) Segment Size - uint32_t (4 bytes) No. of Segments - uint32_t (4 bytes) Size of Last Segment - uint32_t (4 bytes) This is followed by an "Index" where each index entry is a uint64_t (8 bytes). The number of index entries depends on the size of the file in question and the segment size used to compress that file. Alok
