tuweni / org.apache.tuweni.units.bigints / UInt32 / xor

xor

fun xor(value: UInt32!): UInt32! (source)

Return a bit-wise XOR of this value and the supplied value.

If this value and the supplied value are different lengths, then the shorter will be zero-padded to the left.

Parameters

value - UInt32!: the value to perform the operation with

Exceptions

IllegalArgumentException - if more than 8 bytes are supplied

Return
UInt32!: the result of a bit-wise XOR

fun xor(value: Int): UInt32! (source)

Return a bit-wise XOR of this value and the supplied value.

If this value and the supplied value are different lengths, then the shorter will be zero-padded to the left.

Parameters

value - Int: the value to perform the operation with

Exceptions

IllegalArgumentException - if more than 8 bytes are supplied

Return
UInt32!: the result of a bit-wise XOR

fun xor(bytes: Bytes!): UInt32! (source)

Return a bit-wise XOR of this value and the supplied bytes.

Parameters

bytes - Bytes!: the bytes to perform the operation with

Exceptions

IllegalArgumentException - if more than 8 bytes are supplied

Return
UInt32!: the result of a bit-wise XOR