Class XorBitFunctionNode

All Implemented Interfaces:
Serializable, Cloneable

public class XorBitFunctionNode extends UnaryBitFunctionNode
This function is a request to bitwise XOR the result of its first argument with itself in chunks of the second argument number of bits. If the result to XOR is a 24 bit value, and the second argument is 8, this function will XOR the first 8 bits of the result with the next 8 bits of the result, and then XOR that number with the next 8 bits of the result.
Author:
baldersheim, Simon Thoresen Hult
See Also:
  • Field Details

    • classId

      public static final int classId
  • Constructor Details

    • XorBitFunctionNode

      public XorBitFunctionNode()
      Constructs an empty result node. NOTE: This instance is broken until non-optional member data is set.
    • XorBitFunctionNode

      public XorBitFunctionNode(ExpressionNode arg, int numBits)
      Constructs an instance of this class with given argument and number of bits.
      Parameters:
      arg - The argument for this function.
      numBits - The number of bits to operate on.
  • Method Details