BitOperationXor Method

Aerospike
Create bit "exclusive or" operation. Server performs bitwise "xor" on value and byte[] bin at bitOffset for bitSize. Server does not return a value. Example:
  • bin = [0b00000001, 0b01000010, 0b00000011, 0b00000100, 0b00000101]
  • bitOffset = 17
  • bitSize = 6
  • value = [0b10101100]
  • bin result = [0b00000001, 0b01000010, 0b01010101, 0b00000100, 0b00000101]

Namespace:  Aerospike.Client
Assembly:  AerospikeClient (in AerospikeClient.dll) Version: 5.1.1.0 (5.1.1)
Syntax

C#
public static Operation Xor(
	BitPolicy policy,
	string binName,
	int bitOffset,
	int bitSize,
	byte[] value
)

Parameters

policy
Type: Aerospike.ClientBitPolicy
binName
Type: SystemString
bitOffset
Type: SystemInt32
bitSize
Type: SystemInt32
value
Type: SystemByte

Return Value

Type: Operation
See Also

Reference