tuweni / org.apache.tuweni.bytes / Bytes / not

not

open fun not(): Bytes! (source)

Return a bit-wise NOT of these bytes.

Return
Bytes!: The result of a bit-wise NOT.

open fun <T : MutableBytes!> not(result: T): T (source)

Calculate a bit-wise NOT of these bytes.

If this value is shorter in length than the output vector, then it will be zero-padded to the left. Likewise, if this value is longer in length than the output vector, then it will be truncated to the left.

Parameters

result - T: The mutable output vector for the result.

- The MutableBytes value type.

Return
T: The result output vector.