BitExp Rscan Method Aerospike
Create expression that returns integer bit offset of the last specified value bit in byte[] bin starting at bitOffset for bitSize. Example:
  • bin = [0b00000001, 0b01000010, 0b00000011, 0b00000100, 0b00000101]
  • bitOffset = 32
  • bitSize = 8
  • value = true
  • returns 7

Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 4.2.0.0 (4.2.0)
Syntax

Examples

// rscan(a) == 7
Exp.EQ(BitExp.Rscan(Exp.Val(32), Exp.Val(8), Exp.Val(true), Exp.BlobBin("a")), Exp.Val(7))
See Also