div><hr><div class="binding"><span id="math/rng-buffer" class="binding-sym">math/rng-buffer</span> <span class="binding-type">cfunction</span>  <pre class="binding-text">(math/rng-buffer rng n &amp;opt buf)

Get n random bytes and put them in a buffer. Creates a new buffer if no buffer is provided, otherwise appends to the given buffer. Returns the buffer.</pre><a href="https://janetdocs.org/math/rng-buffer">Community Examples</a></div><hr><div class="binding"><span id="math/rng-int" class="binding-sym">mat