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

xor

fun xor(value: UInt64!): UInt64! (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 - UInt64!: the value to perform the operation with

Exceptions

IllegalArgumentException - if more than 8 bytes are supplied

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

fun xor(bytes: Bytes!): UInt64! (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
UInt64!: the result of a bit-wise XOR