pice things up a bit, by creating our index parser. It needs access to the parsed data of the header, because there&apos;s the data-count of the whole file.</p>
<p>Also, instead of just one we will create two extensions for parsing the index:</p>
<ul>
<li>One that parses the index itself</li>
<li>Another one that parses each index-entry</li>
</ul>
<h4 id="the-index-entry-parser">The index entry parser</h4><pre><code class="lang-javascript"><code class="source-code prettyprint">/**
 * reads the data of an in