t -&gt; len:int -&gt; string</pre><div class="info ">
<div class="info-desc">
<p>Same as <a href="BytesLabels.html#VALsub"><code class="code">BytesLabels.sub</code></a> but return a string instead of a byte sequence.</p>
</div>
</div>

<pre id="VALextend">val extend : bytes -&gt; left:int -&gt; right:int -&gt; bytes</pre><div class="info ">
<div class="info-desc">
<p><code class="code">extend&nbsp;s&nbsp;~left&nbsp;~right</code> returns a new byte sequence that contains
    the bytes of <code class="code">s