Create expression that subtracts value from byte[] bin starting at bitOffset for bitSize and returns byte[].
BitSize must be <= 64. Signed indicates if bits should be treated as a signed number.
If add overflows/underflows, BitOverflowAction is used.
Namespace: Aerospike.Client- bin = [0b00000001, 0b01000010, 0b00000011, 0b00000100, 0b00000101]
- bitOffset = 24
- bitSize = 16
- value = 128
- signed = false
- bin result = [0b00000001, 0b01000010, 0b00000011, 0b0000011, 0b10000101]
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 4.2.6.0 (4.2.6)
Syntax
Parameters
- policy
- Type: Aerospike.Client BitPolicy
- bitOffset
- Type: Aerospike.Client Exp
- bitSize
- Type: Aerospike.Client Exp
- value
- Type: Aerospike.Client Exp
- signed
- Type: System Boolean
- action
- Type: Aerospike.Client BitOverflowAction
- bin
- Type: Aerospike.Client Exp
See Also