Function aerospike::operations::bitwise::rscan
source · pub fn rscan(
bin: &str,
bit_offset: i64,
bit_size: i64,
value: bool
) -> Operation<'_>
Expand description
Creates bit “right scan” operation. Server 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