资讯

Circular Buffers: Empty or Full? With a linear buffer, it’s easy to tell when the buffer is empty or full. If the last available slot is the last byte in the array, it’s full.