Package kotlin.experimental

Platform and version requirements: Kotlin 1.1

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

Functions

and

infix fun Byte.and(other: Byte): Byte
infix fun Short.and(other: Short): Short

Performs a bitwise AND operation between the two values.

inv

fun Byte.inv(): Byte
fun Short.inv(): Short

Inverts the bits in this value.

or

infix fun Byte.or(other: Byte): Byte
infix fun Short.or(other: Short): Short

Performs a bitwise OR operation between the two values.

xor

infix fun Byte.xor(other: Byte): Byte
infix fun Short.xor(other: Short): Short

Performs a bitwise XOR operation between the two values.