MutableGapBuffer

inline fun <T> MutableGapBuffer(size: Int, crossinline init: (Int) -> T): MutableGapBuffer<T>

Creates a MutableGapBuffer with a given size, where each item is init.

Throws

if the size is negative.