units / org.apache.tuweni.units.bigints / UInt256 / and

and

fun and(value: UInt256): UInt256 (source)

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

Parameters

value - the value to perform the operation with

Return
the result of a bit-wise AND

fun and(bytes: Bytes32): UInt256 (source)

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

Parameters

bytes - the bytes to perform the operation with

Return
the result of a bit-wise AND