Package-level declarations

Functions

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

Returns the bitwise AND of this value and other.

Link copied to clipboard
fun Byte.inv(): Byte

Inverts all 8 bits of this value.

fun Short.inv(): Short

Inverts all 16 bits of this value.

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

Returns the bitwise OR of this value and other.

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

Returns the bitwise exclusive OR of this value and other.