BitExpLshift Method

Aerospike
Create expression that shifts left byte[] bin starting at bitOffset for bitSize and returns byte[].
  • 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.1.1.0 (5.1.1)
Syntax

C#
public static Exp Lshift(
	BitPolicy policy,
	Exp bitOffset,
	Exp bitSize,
	Exp shift,
	Exp bin
)

Parameters

policy
Type: Aerospike.ClientBitPolicy
bitOffset
Type: Aerospike.ClientExp
bitSize
Type: Aerospike.ClientExp
shift
Type: Aerospike.ClientExp
bin
Type: Aerospike.ClientExp

Return Value

Type: Exp
See Also

Reference