reimplement ringbuffer
The new implementation use the mirroring method to distinguish full buffer and the empty buffer. It also support buffers of arbitrary size.
Showing
想要评论请 注册 或 登录
The new implementation use the mirroring method to distinguish full buffer and the empty buffer. It also support buffers of arbitrary size.