Create bit "left shift" operation.
Server shifts left byte[] bin starting at bitOffset for bitSize.
Server does not return a value.
Example:
- bin = [0b00000001, 0b01000010, 0b00000011, 0b00000100, 0b00000101]
- bitOffset = 32
- bitSize = 8
- shift = 3
- bin result = [0b00000001, 0b01000010, 0b00000011, 0b00000100, 0b00101000]
Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 5.0.0.0 (5.0.0)
Syntax
C#
public static Operation Lshift( BitPolicy policy, string binName, int bitOffset, int bitSize, int shift )
Parameters
- policy
- Type: Aerospike.ClientBitPolicy
- binName
- Type: SystemString
- bitOffset
- Type: SystemInt32
- bitSize
- Type: SystemInt32
- shift
- Type: SystemInt32
Return Value
Type: OperationSee Also