Package-level declarations

Experimental APIs, subject to change in future versions of Kotlin.

Functions

Link copied to clipboard
infix inline fun Byte.and(other: Byte): Byte
infix inline fun Short.and(other: Short): Short

Performs a bitwise AND operation between the two values.

Since Kotlin 1.1
Link copied to clipboard
inline fun Byte.inv(): Byte
inline fun Short.inv(): Short

Inverts the bits in this value.

Since Kotlin 1.1
Link copied to clipboard
infix inline fun Byte.or(other: Byte): Byte
infix inline fun Short.or(other: Short): Short

Performs a bitwise OR operation between the two values.

Since Kotlin 1.1
Link copied to clipboard
infix inline fun Byte.xor(other: Byte): Byte
infix inline fun Short.xor(other: Short): Short

Performs a bitwise XOR operation between the two values.

Since Kotlin 1.1