set

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

Sets the bit at index to value


fun set(index: Long)(source)

shorthand for set(index,true)