highlight swift"><code>    <span class="k">let</span> <span class="nv">decoder</span> <span class="o">=</span> <span class="kt">BinaryDecoder</span><span class="p">()</span>
</code></pre>

<blockquote>
<p>Note: You may optionally pass your own userInfo <code>BinaryDecoder(userInfo:)</code> structure and it will be available to you during the decoding process.</p>
</blockquote>

<p>To decode, you pass the Type of object to create, and an instance of encoded data representing that type.</p>
<pre class="highli