Function aerospike::operations::bitwise::lscan
source · pub fn lscan(
bin: &str,
bit_offset: i64,
bit_size: i64,
value: bool
) -> Operation<'_>
Expand description
Creates bit “left scan” operation. Server returns integer bit offset of the first specified value bit in byte[] bin starting at bitOffset for bitSize.
Example:
bin = [0b00000001, 0b01000010, 0b00000011, 0b00000100, 0b00000101]
bitOffset = 24
bitSize = 8
value = true
returns 5