toggle menu
shake
0.1.0
common
switch theme
search in API
com.shakelang.util.primitives
/
com.shakelang.util.primitives.bits
Package-level
declarations
Types
Functions
Properties
Types
Byte
Bits
Link copied to clipboard
class
ByteBits
(
byte
:
Byte
)
:
List
<
Boolean
>
Int
Bits
Link copied to clipboard
class
IntBits
(
int
:
Int
)
:
List
<
Boolean
>
Long
Bits
Link copied to clipboard
class
LongBits
(
long
:
Long
)
:
List
<
Boolean
>
Short
Bits
Link copied to clipboard
class
ShortBits
(
short
:
Short
)
:
List
<
Boolean
>
Properties
bit0
Link copied to clipboard
val
Byte
.
bit0
:
Boolean
val
Int
.
bit0
:
Boolean
val
Long
.
bit0
:
Boolean
val
Short
.
bit0
:
Boolean
bit1
Link copied to clipboard
val
Byte
.
bit1
:
Boolean
val
Int
.
bit1
:
Boolean
val
Long
.
bit1
:
Boolean
val
Short
.
bit1
:
Boolean
bit10
Link copied to clipboard
val
Int
.
bit10
:
Boolean
val
Long
.
bit10
:
Boolean
val
Short
.
bit10
:
Boolean
bit11
Link copied to clipboard
val
Int
.
bit11
:
Boolean
val
Long
.
bit11
:
Boolean
val
Short
.
bit11
:
Boolean
bit12
Link copied to clipboard
val
Int
.
bit12
:
Boolean
val
Long
.
bit12
:
Boolean
val
Short
.
bit12
:
Boolean
bit13
Link copied to clipboard
val
Int
.
bit13
:
Boolean
val
Long
.
bit13
:
Boolean
val
Short
.
bit13
:
Boolean
bit14
Link copied to clipboard
val
Int
.
bit14
:
Boolean
val
Long
.
bit14
:
Boolean
val
Short
.
bit14
:
Boolean
bit15
Link copied to clipboard
val
Int
.
bit15
:
Boolean
val
Long
.
bit15
:
Boolean
val
Short
.
bit15
:
Boolean
bit16
Link copied to clipboard
val
Int
.
bit16
:
Boolean
val
Long
.
bit16
:
Boolean
bit17
Link copied to clipboard
val
Int
.
bit17
:
Boolean
val
Long
.
bit17
:
Boolean
bit18
Link copied to clipboard
val
Int
.
bit18
:
Boolean
val
Long
.
bit18
:
Boolean
bit19
Link copied to clipboard
val
Int
.
bit19
:
Boolean
val
Long
.
bit19
:
Boolean
bit2
Link copied to clipboard
val
Byte
.
bit2
:
Boolean
val
Int
.
bit2
:
Boolean
val
Long
.
bit2
:
Boolean
val
Short
.
bit2
:
Boolean
bit20
Link copied to clipboard
val
Int
.
bit20
:
Boolean
val
Long
.
bit20
:
Boolean
bit21
Link copied to clipboard
val
Int
.
bit21
:
Boolean
val
Long
.
bit21
:
Boolean
bit22
Link copied to clipboard
val
Int
.
bit22
:
Boolean
val
Long
.
bit22
:
Boolean
bit23
Link copied to clipboard
val
Int
.
bit23
:
Boolean
val
Long
.
bit23
:
Boolean
bit24
Link copied to clipboard
val
Int
.
bit24
:
Boolean
val
Long
.
bit24
:
Boolean
bit25
Link copied to clipboard
val
Int
.
bit25
:
Boolean
val
Long
.
bit25
:
Boolean
bit26
Link copied to clipboard
val
Int
.
bit26
:
Boolean
val
Long
.
bit26
:
Boolean
bit27
Link copied to clipboard
val
Int
.
bit27
:
Boolean
val
Long
.
bit27
:
Boolean
bit28
Link copied to clipboard
val
Int
.
bit28
:
Boolean
val
Long
.
bit28
:
Boolean
bit29
Link copied to clipboard
val
Int
.
bit29
:
Boolean
val
Long
.
bit29
:
Boolean
bit3
Link copied to clipboard
val
Byte
.
bit3
:
Boolean
val
Int
.
bit3
:
Boolean
val
Long
.
bit3
:
Boolean
val
Short
.
bit3
:
Boolean
bit30
Link copied to clipboard
val
Int
.
bit30
:
Boolean
val
Long
.
bit30
:
Boolean
bit31
Link copied to clipboard
val
Int
.
bit31
:
Boolean
val
Long
.
bit31
:
Boolean
bit32
Link copied to clipboard
val
Long
.
bit32
:
Boolean
bit33
Link copied to clipboard
val
Long
.
bit33
:
Boolean
bit34
Link copied to clipboard
val
Long
.
bit34
:
Boolean
bit35
Link copied to clipboard
val
Long
.
bit35
:
Boolean
bit36
Link copied to clipboard
val
Long
.
bit36
:
Boolean
bit37
Link copied to clipboard
val
Long
.
bit37
:
Boolean
bit38
Link copied to clipboard
val
Long
.
bit38
:
Boolean
bit39
Link copied to clipboard
val
Long
.
bit39
:
Boolean
bit4
Link copied to clipboard
val
Byte
.
bit4
:
Boolean
val
Int
.
bit4
:
Boolean
val
Long
.
bit4
:
Boolean
val
Short
.
bit4
:
Boolean
bit40
Link copied to clipboard
val
Long
.
bit40
:
Boolean
bit41
Link copied to clipboard
val
Long
.
bit41
:
Boolean
bit42
Link copied to clipboard
val
Long
.
bit42
:
Boolean
bit43
Link copied to clipboard
val
Long
.
bit43
:
Boolean
bit44
Link copied to clipboard
val
Long
.
bit44
:
Boolean
bit45
Link copied to clipboard
val
Long
.
bit45
:
Boolean
bit46
Link copied to clipboard
val
Long
.
bit46
:
Boolean
bit47
Link copied to clipboard
val
Long
.
bit47
:
Boolean
bit48
Link copied to clipboard
val
Long
.
bit48
:
Boolean
bit49
Link copied to clipboard
val
Long
.
bit49
:
Boolean
bit5
Link copied to clipboard
val
Byte
.
bit5
:
Boolean
val
Int
.
bit5
:
Boolean
val
Long
.
bit5
:
Boolean
val
Short
.
bit5
:
Boolean
bit50
Link copied to clipboard
val
Long
.
bit50
:
Boolean
bit51
Link copied to clipboard
val
Long
.
bit51
:
Boolean
bit52
Link copied to clipboard
val
Long
.
bit52
:
Boolean
bit53
Link copied to clipboard
val
Long
.
bit53
:
Boolean
bit54
Link copied to clipboard
val
Long
.
bit54
:
Boolean
bit55
Link copied to clipboard
val
Long
.
bit55
:
Boolean
bit56
Link copied to clipboard
val
Long
.
bit56
:
Boolean
bit57
Link copied to clipboard
val
Long
.
bit57
:
Boolean
bit58
Link copied to clipboard
val
Long
.
bit58
:
Boolean
bit59
Link copied to clipboard
val
Long
.
bit59
:
Boolean
bit6
Link copied to clipboard
val
Byte
.
bit6
:
Boolean
val
Int
.
bit6
:
Boolean
val
Long
.
bit6
:
Boolean
val
Short
.
bit6
:
Boolean
bit60
Link copied to clipboard
val
Long
.
bit60
:
Boolean
bit61
Link copied to clipboard
val
Long
.
bit61
:
Boolean
bit62
Link copied to clipboard
val
Long
.
bit62
:
Boolean
bit63
Link copied to clipboard
val
Long
.
bit63
:
Boolean
bit7
Link copied to clipboard
val
Byte
.
bit7
:
Boolean
val
Int
.
bit7
:
Boolean
val
Long
.
bit7
:
Boolean
val
Short
.
bit7
:
Boolean
bit8
Link copied to clipboard
val
Int
.
bit8
:
Boolean
val
Long
.
bit8
:
Boolean
val
Short
.
bit8
:
Boolean
bit9
Link copied to clipboard
val
Int
.
bit9
:
Boolean
val
Long
.
bit9
:
Boolean
val
Short
.
bit9
:
Boolean
bits
Link copied to clipboard
val
Byte
.
bits
:
ByteBits
val
Int
.
bits
:
IntBits
val
Long
.
bits
:
LongBits
val
Short
.
bits
:
ShortBits
Functions
set
Bit0
Link copied to clipboard
fun
Byte
.
setBit0
(
value
:
Boolean
)
:
Byte
fun
Int
.
setBit0
(
value
:
Boolean
)
:
Int
fun
Long
.
setBit0
(
value
:
Boolean
)
:
Long
fun
Short
.
setBit0
(
value
:
Boolean
)
:
Short
set
Bit1
Link copied to clipboard
fun
Byte
.
setBit1
(
value
:
Boolean
)
:
Byte
fun
Int
.
setBit1
(
value
:
Boolean
)
:
Int
fun
Long
.
setBit1
(
value
:
Boolean
)
:
Long
fun
Short
.
setBit1
(
value
:
Boolean
)
:
Short
set
Bit10
Link copied to clipboard
fun
Int
.
setBit10
(
value
:
Boolean
)
:
Int
fun
Long
.
setBit10
(
value
:
Boolean
)
:
Long
fun
Short
.
setBit10
(
value
:
Boolean
)
:
Short
set
Bit11
Link copied to clipboard
fun
Int
.
setBit11
(
value
:
Boolean
)
:
Int
fun
Long
.
setBit11
(
value
:
Boolean
)
:
Long
fun
Short
.
setBit11
(
value
:
Boolean
)
:
Short
set
Bit12
Link copied to clipboard
fun
Int
.
setBit12
(
value
:
Boolean
)
:
Int
fun
Long
.
setBit12
(
value
:
Boolean
)
:
Long
fun
Short
.
setBit12
(
value
:
Boolean
)
:
Short
set
Bit13
Link copied to clipboard
fun
Int
.
setBit13
(
value
:
Boolean
)
:
Int
fun
Long
.
setBit13
(
value
:
Boolean
)
:
Long
fun
Short
.
setBit13
(
value
:
Boolean
)
:
Short
set
Bit14
Link copied to clipboard
fun
Int
.
setBit14
(
value
:
Boolean
)
:
Int
fun
Long
.
setBit14
(
value
:
Boolean
)
:
Long
fun
Short
.
setBit14
(
value
:
Boolean
)
:
Short
set
Bit15
Link copied to clipboard
fun
Int
.
setBit15
(
value
:
Boolean
)
:
Int
fun
Long
.
setBit15
(
value
:
Boolean
)
:
Long
fun
Short
.
setBit15
(
value
:
Boolean
)
:
Short
set
Bit16
Link copied to clipboard
fun
Int
.
setBit16
(
value
:
Boolean
)
:
Int
fun
Long
.
setBit16
(
value
:
Boolean
)
:
Long
set
Bit17
Link copied to clipboard
fun
Int
.
setBit17
(
value
:
Boolean
)
:
Int
fun
Long
.
setBit17
(
value
:
Boolean
)
:
Long
set
Bit18
Link copied to clipboard
fun
Int
.
setBit18
(
value
:
Boolean
)
:
Int
fun
Long
.
setBit18
(
value
:
Boolean
)
:
Long
set
Bit19
Link copied to clipboard
fun
Int
.
setBit19
(
value
:
Boolean
)
:
Int
fun
Long
.
setBit19
(
value
:
Boolean
)
:
Long
set
Bit2
Link copied to clipboard
fun
Byte
.
setBit2
(
value
:
Boolean
)
:
Byte
fun
Int
.
setBit2
(
value
:
Boolean
)
:
Int
fun
Long
.
setBit2
(
value
:
Boolean
)
:
Long
fun
Short
.
setBit2
(
value
:
Boolean
)
:
Short
set
Bit20
Link copied to clipboard
fun
Int
.
setBit20
(
value
:
Boolean
)
:
Int
fun
Long
.
setBit20
(
value
:
Boolean
)
:
Long
set
Bit21
Link copied to clipboard
fun
Int
.
setBit21
(
value
:
Boolean
)
:
Int
fun
Long
.
setBit21
(
value
:
Boolean
)
:
Long
set
Bit22
Link copied to clipboard
fun
Int
.
setBit22
(
value
:
Boolean
)
:
Int
fun
Long
.
setBit22
(
value
:
Boolean
)
:
Long
set
Bit23
Link copied to clipboard
fun
Int
.
setBit23
(
value
:
Boolean
)
:
Int
fun
Long
.
setBit23
(
value
:
Boolean
)
:
Long
set
Bit24
Link copied to clipboard
fun
Int
.
setBit24
(
value
:
Boolean
)
:
Int
fun
Long
.
setBit24
(
value
:
Boolean
)
:
Long
set
Bit25
Link copied to clipboard
fun
Int
.
setBit25
(
value
:
Boolean
)
:
Int
fun
Long
.
setBit25
(
value
:
Boolean
)
:
Long
set
Bit26
Link copied to clipboard
fun
Int
.
setBit26
(
value
:
Boolean
)
:
Int
fun
Long
.
setBit26
(
value
:
Boolean
)
:
Long
set
Bit27
Link copied to clipboard
fun
Int
.
setBit27
(
value
:
Boolean
)
:
Int
fun
Long
.
setBit27
(
value
:
Boolean
)
:
Long
set
Bit28
Link copied to clipboard
fun
Int
.
setBit28
(
value
:
Boolean
)
:
Int
fun
Long
.
setBit28
(
value
:
Boolean
)
:
Long
set
Bit29
Link copied to clipboard
fun
Int
.
setBit29
(
value
:
Boolean
)
:
Int
fun
Long
.
setBit29
(
value
:
Boolean
)
:
Long
set
Bit3
Link copied to clipboard
fun
Byte
.
setBit3
(
value
:
Boolean
)
:
Byte
fun
Int
.
setBit3
(
value
:
Boolean
)
:
Int
fun
Long
.
setBit3
(
value
:
Boolean
)
:
Long
fun
Short
.
setBit3
(
value
:
Boolean
)
:
Short
set
Bit30
Link copied to clipboard
fun
Int
.
setBit30
(
value
:
Boolean
)
:
Int
fun
Long
.
setBit30
(
value
:
Boolean
)
:
Long
set
Bit31
Link copied to clipboard
fun
Int
.
setBit31
(
value
:
Boolean
)
:
Int
fun
Long
.
setBit31
(
value
:
Boolean
)
:
Long
set
Bit32
Link copied to clipboard
fun
Long
.
setBit32
(
value
:
Boolean
)
:
Long
set
Bit33
Link copied to clipboard
fun
Long
.
setBit33
(
value
:
Boolean
)
:
Long
set
Bit34
Link copied to clipboard
fun
Long
.
setBit34
(
value
:
Boolean
)
:
Long
set
Bit35
Link copied to clipboard
fun
Long
.
setBit35
(
value
:
Boolean
)
:
Long
set
Bit36
Link copied to clipboard
fun
Long
.
setBit36
(
value
:
Boolean
)
:
Long
set
Bit37
Link copied to clipboard
fun
Long
.
setBit37
(
value
:
Boolean
)
:
Long
set
Bit38
Link copied to clipboard
fun
Long
.
setBit38
(
value
:
Boolean
)
:
Long
set
Bit39
Link copied to clipboard
fun
Long
.
setBit39
(
value
:
Boolean
)
:
Long
set
Bit4
Link copied to clipboard
fun
Byte
.
setBit4
(
value
:
Boolean
)
:
Byte
fun
Int
.
setBit4
(
value
:
Boolean
)
:
Int
fun
Long
.
setBit4
(
value
:
Boolean
)
:
Long
fun
Short
.
setBit4
(
value
:
Boolean
)
:
Short
set
Bit40
Link copied to clipboard
fun
Long
.
setBit40
(
value
:
Boolean
)
:
Long
set
Bit41
Link copied to clipboard
fun
Long
.
setBit41
(
value
:
Boolean
)
:
Long
set
Bit42
Link copied to clipboard
fun
Long
.
setBit42
(
value
:
Boolean
)
:
Long
set
Bit43
Link copied to clipboard
fun
Long
.
setBit43
(
value
:
Boolean
)
:
Long
set
Bit44
Link copied to clipboard
fun
Long
.
setBit44
(
value
:
Boolean
)
:
Long
set
Bit45
Link copied to clipboard
fun
Long
.
setBit45
(
value
:
Boolean
)
:
Long
set
Bit46
Link copied to clipboard
fun
Long
.
setBit46
(
value
:
Boolean
)
:
Long
set
Bit47
Link copied to clipboard
fun
Long
.
setBit47
(
value
:
Boolean
)
:
Long
set
Bit48
Link copied to clipboard
fun
Long
.
setBit48
(
value
:
Boolean
)
:
Long
set
Bit49
Link copied to clipboard
fun
Long
.
setBit49
(
value
:
Boolean
)
:
Long
set
Bit5
Link copied to clipboard
fun
Byte
.
setBit5
(
value
:
Boolean
)
:
Byte
fun
Int
.
setBit5
(
value
:
Boolean
)
:
Int
fun
Long
.
setBit5
(
value
:
Boolean
)
:
Long
fun
Short
.
setBit5
(
value
:
Boolean
)
:
Short
set
Bit50
Link copied to clipboard
fun
Long
.
setBit50
(
value
:
Boolean
)
:
Long
set
Bit51
Link copied to clipboard
fun
Long
.
setBit51
(
value
:
Boolean
)
:
Long
set
Bit52
Link copied to clipboard
fun
Long
.
setBit52
(
value
:
Boolean
)
:
Long
set
Bit53
Link copied to clipboard
fun
Long
.
setBit53
(
value
:
Boolean
)
:
Long
set
Bit54
Link copied to clipboard
fun
Long
.
setBit54
(
value
:
Boolean
)
:
Long
set
Bit55
Link copied to clipboard
fun
Long
.
setBit55
(
value
:
Boolean
)
:
Long
set
Bit56
Link copied to clipboard
fun
Long
.
setBit56
(
value
:
Boolean
)
:
Long
set
Bit57
Link copied to clipboard
fun
Long
.
setBit57
(
value
:
Boolean
)
:
Long
set
Bit58
Link copied to clipboard
fun
Long
.
setBit58
(
value
:
Boolean
)
:
Long
set
Bit59
Link copied to clipboard
fun
Long
.
setBit59
(
value
:
Boolean
)
:
Long
set
Bit6
Link copied to clipboard
fun
Byte
.
setBit6
(
value
:
Boolean
)
:
Byte
fun
Int
.
setBit6
(
value
:
Boolean
)
:
Int
fun
Long
.
setBit6
(
value
:
Boolean
)
:
Long
fun
Short
.
setBit6
(
value
:
Boolean
)
:
Short
set
Bit60
Link copied to clipboard
fun
Long
.
setBit60
(
value
:
Boolean
)
:
Long
set
Bit61
Link copied to clipboard
fun
Long
.
setBit61
(
value
:
Boolean
)
:
Long
set
Bit62
Link copied to clipboard
fun
Long
.
setBit62
(
value
:
Boolean
)
:
Long
set
Bit63
Link copied to clipboard
fun
Long
.
setBit63
(
value
:
Boolean
)
:
Long
set
Bit7
Link copied to clipboard
fun
Byte
.
setBit7
(
value
:
Boolean
)
:
Byte
fun
Int
.
setBit7
(
value
:
Boolean
)
:
Int
fun
Long
.
setBit7
(
value
:
Boolean
)
:
Long
fun
Short
.
setBit7
(
value
:
Boolean
)
:
Short
set
Bit8
Link copied to clipboard
fun
Int
.
setBit8
(
value
:
Boolean
)
:
Int
fun
Long
.
setBit8
(
value
:
Boolean
)
:
Long
fun
Short
.
setBit8
(
value
:
Boolean
)
:
Short
set
Bit9
Link copied to clipboard
fun
Int
.
setBit9
(
value
:
Boolean
)
:
Int
fun
Long
.
setBit9
(
value
:
Boolean
)
:
Long
fun
Short
.
setBit9
(
value
:
Boolean
)
:
Short