Circular buffer library; static size and allocators (useful for embedded systems)