    // read the bits for the flags and parse them with bitwise opearators
        .uint8(&apos;flags&apos;)
        .map.callback(&apos;flags&apos;, bits =&gt; ({
            isCompressed: (bits &amp; 0x80) === 0x80,
            isEncrypted: (bits &amp; 0x40) === 0x40,
            isReadOnly: (bits &amp; 0x20) === 0x20
        }))

        // we&apos;ll check this later, when parsing the data
        .buffer(&apos;checksum&apos;, 32);
});</code>
</code></pre>
<h4 id="the-index-parser-itself">The index parse