[LCTHW] RingBuffer implementation (without tests still).