fromBytes

Wraps bytes (with the same semantics as BitSet.toByteArray) into a BitSet. Copies all bytes.


fun fromBytes(nBytes: Int, valueSupplier: (Int) -> Byte): BitSet(source)

Constructs a BitSet from the supplied bytes (with the same semantics as BitSet.toByteArray). Copies all bytes.