ass="code">i</code> and <code class="code">b</code> was left untouched. Otherwise a new character can
    be encoded at <code class="code">i&nbsp;+&nbsp;n</code>.</p>
</div>
</div>

<pre id="VALis_valid_utf_16be">val is_valid_utf_16be : t -&gt; bool</pre><div class="info ">
<div class="info-desc">
<p><code class="code">is_valid_utf_16be&nbsp;b</code> is <code class="code">true</code> if and only if <code class="code">b</code> contains valid
    UTF-16BE data.</p>
</div>
</div>
<h3 id="utf_16le">UTF-16LE</h3