MutableByteGapBuffer

fun MutableByteGapBuffer(size: Int): MutableByteGapBuffer

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

Throws

if the size is negative.


fun MutableByteGapBuffer(size: Int, init: (Int) -> Byte): MutableByteGapBuffer

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

Throws

if the size is negative.