| 53 | |
| 54 | |
| 55 | CircularBuffer::CircularBuffer(size_t capacity) : |
| 56 | m_capacity(capacity), |
| 57 | m_buffer(new char[capacity + 1]), |
| 58 | m_readOffset(0), |
| 59 | m_writeOffset(0) |
| 60 | { |
| 61 | } |
| 62 | |
| 63 | size_t CircularBuffer::Capacity() const |
| 64 | { |
nothing calls this directly
no outgoing calls
no test coverage detected