Create bit "setInt" operation.
Server sets value to byte[] bin starting at bitOffset for bitSize. Size must be <= 64.
Server does not return a value.
Example:
- bin = [0b00000001, 0b01000010, 0b00000011, 0b00000100, 0b00000101]
- bitOffset = 1
- bitSize = 8
- value = 127
- bin result = [0b00111111, 0b11000010, 0b00000011, 0b0000100, 0b00000101]
Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 5.1.1.0 (5.1.1)
Syntax
C#
public static Operation SetInt( BitPolicy policy, string binName, int bitOffset, int bitSize, long value )
Parameters
- policy
- Type: Aerospike.ClientBitPolicy
- binName
- Type: SystemString
- bitOffset
- Type: SystemInt32
- bitSize
- Type: SystemInt32
- value
- Type: SystemInt64
Return Value
Type: OperationSee Also