set

operator fun set(index: Long, value: Boolean)

Sets the bit at index to value


fun set(index: Long)

shorthand for set(index,true)