de>Invalid_argument</code> if the slice isn't valid<br>
</div>

<pre><span id="VALof_slice"><span class="keyword">val</span> of_slice</span> : <code class="type">'a array * int * int -> 'a <a href="Barray_slice.html#TYPEt">t</a></code></pre><div class="info ">
Make a sub-array from a triple <code class="code">(arr, i, len)</code> where <code class="code">arr</code> is the array,
    <code class="code">i</code> the offset in <code class="code">arr</code>, and <code class="code">len</code> the number of eleme