BitArray.opOpAssign

Updates the contents of this array with the result of this array minus the supplied array.

a - b for BitArrays means the same thing as a & ~b.

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

Parameters

op

operation to perform

rhs BitArray

The array with which to perform the subtraction operation.

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

Return Value

Type: BitArray

A shallow copy of this array.

Meta