e into the given encoder, when the type&#39;s <code>RawValue</code>
is <code>UInt</code>.</p>

<p>This function throws an error if any values are invalid for the given
encoder&#39;s format.</p>

<p><strong><code>encoder</code>:</strong>  The encoder to write data to.</p>

    <h4>Declaration</h4>    
    <code class="language-swift">func encode(to encoder: Encoder) throws</code>
    
        <h4>Declared In</h4>
        <a href="../../protocol/RawRepresentable/"><code>RawRepresentable</code></a>    
</div><