circular buffer, but where data is inserted in two revolving regions. This allows reads to return contiguous blocks of memory, even if they span a region that would normally include a wrap-around in a circular buffer. It's especially useful for APIs requiring blocks of contiguous memory, eliminating the need to copy data into an interim buffer before use.</p>

<h1><a class="toc-backref" id="usage" href="#usage">Usage</a></h1><blockquote><p><pre>import bipbuffer

# Create buffer with capacity of 4 int items
