RingBuffer
class RingBuffer<T>(buffer: MutableBuffer<T?>, startIndex: Int, size: Int) : Buffer<T>
Content copied to clipboard
Thread-safe ring buffer
Constructors
Link copied to clipboard
fun <T> RingBuffer(buffer: MutableBuffer<T?>, startIndex: Int = 0, size: Int = 0)
Content copied to clipboard