能懂则懂的RingBuffer,Good luck!