Constructor RingBuffer View Source RingBuffer(Int32) Initializes a new instance of the RingBuffer class. Declaration public RingBuffer(int capacity) Parameters Type Name Description Int32 capacity The capacity of the ring buffer.