mask : int <span>&#45;&gt;</span> int <span>&#45;&gt;</span> <a href="index.html#type-t">t</a></code></dt><dd><p><code>mask i l</code> creates a mask stating at i of length l. This means that the bits of the output in the range <code>[i; i+l)</code> are ones and the others are 0.</p><p>See <a href="index.html#val-unsafe_mask"><code>unsafe_mask</code></a>.</p></dd></dl><dl><dt class="spec value" id="val-unsafe_mask"><a href="#val-unsafe_mask" class="anchor"></a><code><span class="keyword">val</span> unsafe_m