t is 0 and end is the length of the buffer. Returns a new buffer.</pre><a href="https://janetdocs.org/buffer/slice">Community Examples</a></div><hr><div class="binding"><span id="buffer/trim" class="binding-sym">buffer/trim</span> <span class="binding-type">cfunction</span>  <pre class="binding-text">(buffer/trim buffer)

Set the backing capacity of the buffer to the current length of the buffer. Returns the modified buffer.</pre><a href="https://janetdocs.org/buffer/trim">Community Examples</a></div>
     