and

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

Returns the bitwise AND of this value and other.

Receiver

8-bit value whose bits are used.

Return

the resulting Byte bit pattern.

Parameters

other

bit pattern to combine with this value.


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

Returns the bitwise AND of this value and other.

Receiver

16-bit value whose bits are used.

Return

the resulting Short bit pattern.

Parameters

other

bit pattern to combine with this value.