Bit Array32
Implements bitset based on Int. Index 0 is the most left bit. For example: index 30 in value 0b010 is 1, index 31 and 29 is 0
Example:
var data = Bitset32()
assertFalse(data[0])
assertFalse(data[1])
data = data.set(0,true)
assertTrue(data[0])
assertFalse(data[1])Content copied to clipboard
Constructors
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun fulled(value: Boolean, startIndex: Int, endIndex: Int): BitArray32
Content copied to clipboard
Creates new array, and then set value to all indexes betweeb startIndex and endIndex. Then return result
Link copied to clipboard
Creates copy of this array, then inverts all bits and returns result
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard