 get started</h2><h3 id="the-header-parser">The header parser</h3><pre><code class="lang-javascript"><code class="source-code prettyprint">/**
 * reads header data from our own specified format
 * @throws Error magic number doesn&apos;t match
 * @return {Object} header-data
 * @example
 * {
 *   magic: 0xDEADBEEF,
 *   version: { major: uint32, minor: uint32 },
 *   timestamp: Date,
 *   dataCount: uint32
 * }
 */
Corrode.addExtension(&apos;containerHeader&apos;, function containerHeaderParser(){
    this
 