              <h4>Declaration</h4>
                          <div class="language">
                            <p class="aside-title">Swift</p>
                            <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">func</span> <span class="nf">encode</span><span class="p">(</span><span class="nv">base</span><span class="p">:</span> <span class="kt"><a href="../Structs/BaseTypeData.html">BaseTypeData</a></span><span class="p">)</span> <span class="o">-&gt;</span> <spa