Create expression that performs bitwise "and" on value and byte[] bin at bitOffset for bitSize
and returns byte[].
- 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: 5.1.1.0 (5.1.1)
Syntax
C#
public static Exp And( BitPolicy policy, Exp bitOffset, Exp bitSize, Exp value, Exp bin )
Parameters
- policy
- Type: Aerospike.ClientBitPolicy
- bitOffset
- Type: Aerospike.ClientExp
- bitSize
- Type: Aerospike.ClientExp
- value
- Type: Aerospike.ClientExp
- bin
- Type: Aerospike.ClientExp
Return Value
Type: ExpSee Also