BitField

class BitField

Constructors

BitField
Link copied to clipboard
common
fun BitField(sizeBytes: Int)

Types

Companion
Link copied to clipboard
common
object Companion
Serializer
Link copied to clipboard
common
object Serializer : KSerializer<BitField>

Functions

and
Link copied to clipboard
common
infix fun and(other: BitField): BitField
asLeftSequence
Link copied to clipboard
common
fun asLeftSequence(): Sequence<Boolean>
asRightSequence
Link copied to clipboard
common
fun asRightSequence(): Sequence<Boolean>
clearLeft
Link copied to clipboard
common
fun clearLeft(index: Int)
clearRight
Link copied to clipboard
common
fun clearRight(index: Int)
equals
Link copied to clipboard
common
open operator override fun equals(other: Any?): Boolean
getLeft
Link copied to clipboard
common
fun getLeft(index: Int): Boolean
getRight
Link copied to clipboard
common
fun getRight(index: Int): Boolean
hashCode
Link copied to clipboard
common
open override fun hashCode(): Int
or
Link copied to clipboard
common
infix fun or(other: BitField): BitField
reversed
Link copied to clipboard
common
fun reversed(): BitField
setLeft
Link copied to clipboard
common
fun setLeft(index: Int)
fun setLeft(index: Int, value: Boolean)
setRight
Link copied to clipboard
common
fun setRight(index: Int)
fun setRight(index: Int, value: Boolean)
toBinaryString
Link copied to clipboard
common
fun toBinaryString(): String
toString
Link copied to clipboard
common
open override fun toString(): String
xor
Link copied to clipboard
common
infix fun xor(other: BitField): BitField

Properties

bitCount
Link copied to clipboard
common
val bitCount: Int
bytes
Link copied to clipboard
common
val bytes: ByteArray
byteSize
Link copied to clipboard
common
val byteSize: Int
indices
Link copied to clipboard
common
val indices: IntRange