BitOperation And Method Aerospike
Create bit "and" operation. Server performs bitwise "and" on value and byte[] bin at bitOffset for bitSize. Server does not return a value. Example:
  • bin = [0b00000001, 0b01000010, 0b00000011, 0b00000100, 0b00000101]
  • bitOffset = 23
  • bitSize = 9
  • value = [0b00111100, 0b10000000]
  • bin result = [0b00000001, 0b01000010, 0b00000010, 0b00000000, 0b00000101]

Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 3.9.16.0 (3.9.16)
Syntax

Parameters

policy
Type: Aerospike.Client BitPolicy
binName
Type: System String
bitOffset
Type: System Int32
bitSize
Type: System Int32
value
Type:  System Byte 
See Also