ass="binding"><span id="buffer/clear" class="binding-sym">buffer/clear</span> <span class="binding-type">cfunction</span>  <pre class="binding-text">(buffer/clear buffer)

Sets the size of a buffer to 0 and empties it. The buffer retains its memory so it can be efficiently refilled. Returns the modified buffer.</pre><a href="https://janetdocs.org/buffer/clear">Community Examples</a></div><hr><div class="binding"><span id="buffer/fill" class="binding-sym">buffer/fill</span> <span class="binding-type">cfuncti