le
file. Also this is the same encoding, that is used in BEAM file format.</p>
<p>The idea is to stick as many type and value data in the 1st byte as possible:</p>
<div class="highlight-default"><div class="highlight"><pre><span></span>7 6 5 4 3 | 2 1 0
----------+------
         | 0 0 0 — Literal
         | 0 0 1 — Integer
         | 0 1 0 — Atom
         | 0 1 1 — X Register
         | 1 0 0 — Y Register
         | 1 0 1 — Label
         | 1 1 0 — Character
0 0 0 1 0 | 1 1 1 — Extended —