add

fun add(item: T)(source)

Adds item to the buffer. If the buffer is full, the oldest item is removed first.