and

infix fun and(other: BitArray): BitArray(source)

Returns a new BitArray which is the bitwise AND of this and other.

Return

the result of the operation.

Parameters

other

another BitArray of same size.

Throws

if arrays are not the same size.