kotlin-stdlib / kotlin.experimental / xor xor Common JVM JS Native 1.1 infix fun Byte.xor(other: Byte): Byte(source) infix fun Short.xor(other: Short): Short(source) Performs a bitwise XOR operation between the two values.