memDump

Returns a binary representation of this bit set's memory layout, when packed into a byte array Bytes are separated by a single space. An empty byte array results in an empty string.

val bits = BitSet()
bits[2] = true //00000100
bits[1] = true //00000110
bits[0] = true //00000111
bits[8] = true //00000111 00000001