code class="code">b</code>.</p>
</div>
</div>

<pre id="VALset_utf_8_uchar">val set_utf_8_uchar : t -&gt; int -&gt; Uchar.t -&gt; int</pre><div class="info ">
<div class="info-desc">
<p><code class="code">set_utf_8_uchar&nbsp;b&nbsp;i&nbsp;u</code> UTF-8 encodes <code class="code">u</code> at index <code class="code">i</code> in <code class="code">b</code>
    and returns the number of bytes <code class="code">n</code> that were written starting
    at <code class="code">i</code>. If <code class="code">n</c