Ringbuffer: Changes read/writeMany to use safe access

See #54