BitArray.opOpAssign

Updates the contents of this array with the result of a bitwise op operation between this array and the supplied array.

Supported are bitwise assignment "&", "|", "^"

  1. BitArray opOpAssign(BitArray rhs)
    struct BitArray
    opOpAssign
    (
    string op
    )
    if (
    op == "&" ||
    op == "|"
    ||
    op == "^"
    )
  2. BitArray opOpAssign(BitArray rhs)
  3. BitArray opOpAssign(bool b)
  4. BitArray opOpAssign(BitArray rhs)

Parameters

op

operation to perform

rhs BitArray

The array with which to perform the bitwise opd operation.

In: rhs.length must equal the length of this array.

Return Value

Type: BitArray

A shallow copy of this array.

Meta