MutableCharGapBuffer

fun MutableCharGapBuffer(size: Int): MutableCharGapBuffer

Creates a MutableCharGapBuffer with a given size, where each cell is init at zero.

Throws

if the size is negative.


fun MutableCharGapBuffer(size: Int, init: (Int) -> Char): MutableCharGapBuffer

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

Throws

if the size is negative.