invoke

operator fun invoke(nBits: Int, initializer: (Int) -> Boolean): BitSet(source)


operator fun invoke(bytes: ByteArray): BitSet(source)

Wraps bytes into a BitSet. Copies all bytes. Hence, modifications to bytes are not reflected in the newly created BitSet.